Re: GOTO
> ---------------------- Information from the mail
header -----------------------
> Sender: Euphoria Programming for MS-DOS
<EUPHORIA at LISTSERV.MUOHIO.EDU>
> Poster: "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV>
> Subject: Re: GOTO
> --------------------------------------------------------------------------
-----
>
> Lucius L. Hilley III wrote:
>
>
> > integer exit_flag
> >
> > exit_flag = 0
> > for A = 1 to 50 do
> > for B = 1 to 30 do
> > for C = 1 to 75 do
> > if get_key() != -1 then
> > exit_flag = 1
> > exit(A)-- or exit[A]
> > end if
> > end for
> > end for
> > end for
>
> This will only exit the innermost loop (C).
>
Correction, It will crash.
Euphoria doesn't support that proposed method.
<SNIP polling votes>
>
> -- David Cuny
>
Lucius L. Hilley III
lhilley at cdc.net lucius at ComputerCafeUSA.com
+----------+--------------+--------------+
| Hollow | ICQ: 9638898 | AIM: LLHIII |
| Horse +--------------+--------------+
| Software | http://www.cdc.net/~lhilley |
+----------+-----------------------------+
|
Not Categorized, Please Help
|
|