Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
needs asarray
|
||||
|
||||
( create an associative array )
|
||||
1024 cells is-asarray foo
|
||||
|
||||
( store 100 as the "first" element in the array )
|
||||
100 " first" foo asarray.put
|
||||
|
||||
( store 200 as the "second" element in the array )
|
||||
200 " second" foo asarray.put
|
||||
|
||||
( obtain and print the values )
|
||||
" first" foo asarray.get .
|
||||
" second" foo asarray.get .
|
||||
Loading…
Add table
Add a link
Reference in a new issue