|
Do ... Until ... Loop
The syntax I used for a Do .. until ... loop -
Do Until (sFront = 0)
'code
Loop
This creates an infinite loop that I cant get out of, even if sFront = 0. What gives?
In fact, I also tested to see if the value of sFront isn't changing with -
Do Until (sFront = 0)
If sFront = 0 then DEBUG "Im Trapped, Help Me!",CR
Loop
This debugs "Im Trapped, Help Me!"
Thanks in advance,
|