New keyword added: continue

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

Continue has been added to Euphoria SVN. Continue is Exit's sibling.

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


--
Jeremy Cowgar
http://jeremy.cowgar.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu