Structures are another kind of data, complementary to variables. They are written using brackets.
[name] = "bob"
Structures can be used, for example, to create indexed arrays.
[name,1] = "steve"
[name,2] = "alex"Each identifier inside the structure [a,b,c,d...] can be a parameter:
for 1 to 2 as ?i
print [name,?i]
next
There is no limit to the number of dimensions a structure can have, and their creation is completely free:
[player,1] = "steve"
[player,1,score] = 1000
[player,1,score,25] = "possible"
As with variables, an undefined structure defaults to zero.
Finally, unlike variables, their scope is always global, even inside a local label.
