Loops/Foreach: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
No edit summary |
||
Line 1,336: | Line 1,336: | ||
println[n] |
println[n] |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
=={{header|FutureBasic}}== |
|||
<syntaxhighlight lang="futurebasic"> |
|||
window 1 |
|||
void local fn DoIt |
|||
'~'1 |
|||
CFArrayRef array = @[@"Alpha",@"Bravo",@"Charlie",@"Delta",@"Echo",@"FutureBasic"] |
|||
CFStringRef string |
|||
for string in array |
|||
print string |
|||
next |
|||
end fn |
|||
fn DoIt |
|||
HandleEvents |
|||
</syntaxhighlight> |
|||
{{out}} |
|||
<pre> |
|||
Alpha |
|||
Bravo |
|||
Charlie |
|||
Delta |
|||
Echo |
|||
FutureBasic |
|||
</pre> |
|||
=={{header|GAP}}== |
=={{header|GAP}}== |