Difference between revisions of "FOREACH"
From Recital Documentation Wiki
Helengeorge (Talk | contribs) (→Class) |
Yvonnemilne (Talk | contribs) |
||
Line 21: | Line 21: | ||
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
− | + | numbers = array(1,2,3,4,5,6,7,8,9,10) | |
+ | foreach numbers as elem | ||
+ | ? elem * elem | ||
+ | endfor | ||
</code> | </code> | ||
Revision as of 17:21, 4 November 2009
Purpose
Syntax
See Also
Description
Example
numbers = array(1,2,3,4,5,6,7,8,9,10) foreach numbers as elem ? elem * elem endfor