On Tuesday 20 February 2001 10:03, Jason Rennie wrote:
> > All very well, except that this is a contingency occurring early
> > in the process. Even if the flag =1, the process will still
> > continue down the loop. I'd like to find a way (other than using
> > GOTO) simply to jump out of the loop, jump over the intervening
> > subprograms (which are all concerned with continuing after a
> > correct response has been received) and simply quitting.
>
Oh God, the bad memories this brings back....:-(
Pseudo code;
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
Not pretty, but you get the idea....
--
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
