Re: New keyword added: continue

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

Jeremy Cowgar wrote:
> 
> Continue has been added to Euphoria SVN. Continue is Exit's sibling.
> 
> }}}
<eucode>
> for i = 1 to length(lines) do
>     if length(lines[i]) = 0 or lines[i][1] = '#' then 
>         continue -- start loop at next iteration
>     end if
> 
>     -- You know the line has data and is not a comment line
>     -- process the line
> end for
> </eucode>
{{{

> 
> --
> Jeremy Cowgar
> <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a>

This one was sorely needed! Thanks!

CChris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu