View Single Post
  #1   Spotlight this post!  
Unread 16-01-2003, 16:27
Goya Goya is offline
Registered User
#0019 (Big Red)
 
Join Date: Jan 2003
Location: Greenwich, CT
Posts: 35
Goya is an unknown quantity at this point
Send a message via AIM to Goya
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,