Re: WISHLIST.TXT

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message -----
From: <christian.cuvier at education.gouv.fr>
To: "EUforum" <EUforum at topica.com>
Subject: Re: WISHLIST.TXT


>
> while <cond1> do
>     ...
>     if <cond2> then end while end if
>     ...
>     if <cond3> then end while end if
>     ...
> end while
>
> If it is a problem to tweak the interpreter into understanding this use of
> *end loop*, then one of the other known keywords (*resume* is shorter)
could
> be introduced for this specific purpose.
>
> Clearer?
>

Not really. By "end loop" I assume you are telling the interpreter to finish
looping through the current loop block. If so, what is the difference
between "end loop" and the current "exit" statement?

By the way. currently in Euphoria, the "end while" statement is a place
marker to tell the interpreter where a loop block ends. It is not an action
statement that tells the interpreter to do something. It just marks a spot
in the code, much like a label does in other languages.

----------------
cheers,
Derek Parnell

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu