March 2014 update
This commit is contained in:
parent
09687c4926
commit
a25938f123
1846 changed files with 21876 additions and 5203 deletions
3
Task/Loops-Foreach/Frink/loops-foreach.frink
Normal file
3
Task/Loops-Foreach/Frink/loops-foreach.frink
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
array = [1, 2, 3, 5, 7]
|
||||
for n = array
|
||||
println[n]
|
||||
3
Task/Loops-Foreach/Maple/loops-foreach.maple
Normal file
3
Task/Loops-Foreach/Maple/loops-foreach.maple
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
for p in [2, 3, 5, 7] do
|
||||
print(p);
|
||||
end do;
|
||||
|
|
@ -2,5 +2,4 @@ days = 'zuntik montik dinstik mitvokh donershtik fraytik shabes'
|
|||
|
||||
do j=1 for words(days) /*loop through days of the week. */
|
||||
say word(days,j) /*display the weekday to screen. */
|
||||
end /*j*/
|
||||
lang postscript> /*stick a fork in it, we're done.*/
|
||||
end /*j*//*stick a fork in it, we're done.*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue