foreach

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

I think euphoria 4.0 should have a foreach block.

Example:

foreach x in s do 
    puts(1, x) 
end foreach 
 
--vs 
for x = 1 to length(s) do 
    puts(1, s[x]) 
end for 

Ryan J.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu