SLUG Mailing List Archives
Re: [SLUG] That somewhat theoretical problem.
- To: Jason Rennie <jwrennie@xxxxxxxxxxx>, Bill Bennett <wbennett@xxxxxxxxxxxxxxxxx>
- Subject: Re: [SLUG] That somewhat theoretical problem.
- From: Jon Biddell <jon@xxxxxxxxx>
- Date: Tue Feb 20 21:20:09 2001
- Cc: slug@xxxxxxxxxxx
- Reply-to: jon@xxxxxxxxx
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....:-(
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
crappy basic program continues, with flag = 1
Not pretty, but you get the idea....