Data update
This commit is contained in:
parent
796d366b97
commit
35bcdeebf8
504 changed files with 7045 additions and 610 deletions
17
Task/Loops-Foreach/Amazing-Hopper/loops-foreach.hopper
Normal file
17
Task/Loops-Foreach/Amazing-Hopper/loops-foreach.hopper
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#include <jambo.h>
|
||||
|
||||
Main
|
||||
things = {}, len list=0
|
||||
Set ' 100,200,300,"Hello world!", -3,-2,-1 ' Apndlist 'things'
|
||||
Let ' len list := Length(things) '
|
||||
|
||||
Printnl ' "\nNormal count:\n" '
|
||||
For each( n, things, len list )
|
||||
Printnl ' "Thing : ", n '
|
||||
Next
|
||||
|
||||
Printnl ' "\n\nReverse count:\n" '
|
||||
For each reverse ( n, things, len list )
|
||||
Printnl ' "Thing : ", n '
|
||||
Next
|
||||
End
|
||||
Loading…
Add table
Add a link
Reference in a new issue