Re: Looking for the best "Parse"...

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

----- Original Message -----
From: "Igor Kachan" <kinz at peterlink.ru>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Looking for the best "Parse"...

> I have noticed, that the useful
> thing may be new loop in Euphoria,
> it is dangerous thing, but very
> handy for speed and delete double.
>
> just do
>   -- code
>          if  condition then exit end if
>   -- code
> end do
>

Yes, a simple loop construct would be handy. The standard method of doing
this...

  while 1 do
  . . .
  end while

introduces an extra comparison for each iteration. An alternative syntax of
...

  repeat do
  . . .
  end repeat

might not be such a bad idea.
-------
Derek

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

Search



Quick Links

User menu

Not signed in.

Misc Menu