>Say For Argument, that My Director Projector is stuck in a situation, where
>it does not even allow me to call quit
>
>repeat with a = 1 to the MaxInteger
> if a <> 100 then
> Dosomestuff
> else
> quit()
> end if
>end repeat
The basic problem is that you only quit in one specific instance--when a =
100. If a never gets to 100, you never quit. You never get to the "quit()"
line, so it doesn't matter which Xtra you use.
More often you would do something like
quitMe = FALSE
repeat with a = 1 to the MaxInteger
doSomeStuff -- set quitMe to TRUE here
if quitMe = TRUE then exit
end repeat
Cordially,
Kerry Thompson
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]