digital literacy for everyone
[lit][generate-title]
[lit]
[fig]
#### license: creative commons cc0 1.0 (public domain)
#### http://creativecommons.org/publicdomain/zero/1.0/
p 5 arr print #### create array
#### define function
function x p
p print
p arrset 1 "hello"
fig
#### print variable p
p print
#### call function
z x p
p print
#### note: arrays work differently in scope to other variables. if passed, global mutable.
#### to get value of a function parameter, use [b]get[/b].
#### to return non-array value, use [b]return[/b] (exits function.)
home: [lit]https://freesoftwareresistance.neocities.org[lit]