forum-msg-id-128898-edit

Original date:2015-10-18 14:51:03 Edited by: elias_maluko Subject: Re: a question about foreach construct

Foreach in euphoria will work only to read itens from a sequence. Because Euphoria's copy on change, we cant modify the fields of a loop variable:

foreach monster in monsters do 
  monster[X] += 1; //will not work 
end foreach 

So foreach in euphoria is a bit useless...

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu