# Variables

Variables have values that can change during the life of the application.

Variables are referred to by identifiers. Variables are assigned values using the = character.
a=3
a=[5,6;7,8]

The variable a is first given the value of 3, and then given the value of a 2 by 2 matrix. Variables are not typed; they can refer to any legal data structure. The type of a variable may change during the life of the application.

Variables can also be assigned to the values of other variables. The value used in the assignment is the value at the time of the assignment (in other words, there is no lasting associativity).

a=3
b=a
a=4

At the end of this sequence, b has a value of 3 and a has a value of 4.

Variables can also be used to create collections:

x=3
y=4
z=[x,y]

You can assign variables on multiple lines using the continuation operator (...).

C = ...
[0 0 1 0;
0 0 0 1]