Containers


make

make “container number
make “container “value 
make “container [list items]

Creates (makes) a container containing the given information. This information can be retrieved by prefixing the container name with a colon :

make "distance 10
make "animals [dog cat pig]
print :animals
print :distance
:container

:container

Returns the value inside the given container.

make "age 15
print :age
thing

thing “container

Returns the contents of the given container name. Similar to using :container.

make "age 17
print thing "age
name

name value “container

An alternative form of make, where the given value is ‘named’

name 15 "age
name "duck "bird
put .. in

put value in container

An alternative form of make, where a value is put in a container.

put 365 in "days
put [dog cow pig] in "animals