Difference between revisions of "FOREACH"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
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

Template:YLM to do


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

Products