Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
23
Task/Loops-Foreach/Retro/loops-foreach.retro
Normal file
23
Task/Loops-Foreach/Retro/loops-foreach.retro
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Strings
|
||||
|
||||
This will display the ASCII code for each character in a string
|
||||
|
||||
~~~
|
||||
'This_is_a_message [ n:put sp ] s:for-each
|
||||
~~~
|
||||
|
||||
# Array
|
||||
|
||||
Display each element
|
||||
|
||||
~~~
|
||||
{ #1 #2 #3 } [ n:put sp ] a:for-each
|
||||
~~~
|
||||
|
||||
# Linked List
|
||||
|
||||
Using the dictionary as an example, display each name
|
||||
|
||||
~~~
|
||||
&Dictionary [ d:name s:put sp ] d:for-each
|
||||
~~~
|
||||
Loading…
Add table
Add a link
Reference in a new issue