11 lines
278 B
Plaintext
11 lines
278 B
Plaintext
# There are no more complex data structures than arrays.
|
|
# Arrays are always copied deeply.
|
|
# If you need something faster, you can swap arrays or
|
|
# pass them to procedures by reference.
|
|
#
|
|
a$[] = [ "apple" "banana" "orange" ]
|
|
b$[] = a$[]
|
|
b$[1] = "apricot"
|
|
print a$[]
|
|
print b$[]
|