Sorry for not properly indentate it but i haven't had time to make it readable.
I've found the problem. it had nothing to do with the code itself but with the values i was processing. with two if's it's alright now.
Thx anyway
AS far as i could find, the condition (IDfim(w).ne. BolID(1)), although the values are exactly the same is not stopping the loop. can't figure out why. I tested with print of values before and after the do while, and the value is always the same and equal on both variables.
First of all i'll try to explain what this loop is for:
(this is only an example, i want to make the loop able to read any configuration as long as it has no closed circuits)
C o D o
\ \
b\ c\
\ d \ e
B o-------------o------------o...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.