RosettaCodeData/Task/Arrays/Logo/arrays.logo
2023-07-01 13:44:08 -04:00

5 lines
224 B
Text

array 5 ; default origin is 1, every item is empty
(array 5 0) ; custom origin
make "a {1 2 3 4 5} ; array literal
setitem 1 :a "ten ; Logo is dynamic; arrays can contain different types
print item 1 :a ; ten