Go to Post I may not like the songs, but I love FIRST! :) - ScoutingNerd175 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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,
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Actual execution time measurement Dan Technical Discussion 5 24-03-2003 11:36
How long is one stamp loop yangotang Programming 3 23-01-2003 20:36
NEED HELP with Delay loop for compressor relay switch archiver 2001 10 24-06-2002 02:11
Counter loop archiver 2001 3 24-06-2002 00:44
OK...so I'm totally out of the loop... Markfuscius 3D Animation and Competition 8 03-02-2002 02:39


All times are GMT -5. The time now is 10:49.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi