Jump to content

Creating an Array: Difference between revisions

Added Toka
No edit summary
(Added Toka)
Line 466:
 
this creates an array with the name <tt>b</tt> with two elements. The keys of the elements are "foo" and "bar" and the values are <tt>b(foo) == 12</tt> and <tt>b(bar) == hello</tt>.
 
==[[Toka]]==
[[Category:Toka]]
 
100 cells is-array foo
 
To create an array with several initial values:
 
3 cells is-array foo
reset
1 2 3 depth [ i 1- foo put-element ] iterate
 
==[[Visual Basic .NET]]==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.