This one time, at band camp, Jon Biddell said:
>start of crappy basic program
>for x = 1 to <some.big.number>
> do something sensible here <I assume flag is set in here)
> if flag = 1
> exit
> else
> endif
>next x
>crappy basic program continues, with flag = 1
flag = 0
while flag = 0 do
something
if some-condition then flag = 1
end while
this way you don't run off the end of the for loop... the local
neighbourhood crax0r will be onto it in a second.
--
"Fear leads to anger. Anger leads to hate. Hate leads to using
(o_ ' Windows NT for mission-critical applications."
//\ -- What Yoda *meant* to say, Devin L. Ganger, scary.devil.monastery
v_/_
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug
- [SLUG] That somewhat theoretical problem. Bill Bennett
- Re: [SLUG] That somewhat theoretical problem. Terry Collins
- Re: [SLUG] That somewhat theoretical problem. Steve Kowalik
- Re: [SLUG] That somewhat theoretical problem. Jason Rennie
- Re: [SLUG] That somewhat theoretical problem. Raoul Golan
- Re: [SLUG] That somewhat theoretical problem. Jason Rennie
- Re: [SLUG] That somewhat theoretical prob... Peter Faulks
- Re: [SLUG] That somewhat theoretical problem. Jon Biddell
- Re: [SLUG] That somewhat theoretical problem. James Wilkinson
- Re: [SLUG] That somewhat theoretical problem. Ken Yap
- Re: [SLUG] That somewhat theoretical problem. Andrew Bennetts
- RE: [SLUG] That somewhat theoretical problem. Jill Rowling
- RE: [SLUG] That somewhat theoretical problem. Jill Rowling
- RE: [SLUG] That somewhat theoretical problem. Rick Welykochy
- Re: [SLUG] That somewhat theoretical problem. Tom Nott
- Re: [SLUG] That somewhat theoretical problem. Peter Faulks
