|
Contents | Previous | Next | Subchapters |
| Syntax |
variable = value
|
| See Also | multiple assignment , functions as variables , constants |
x = 42
print x
O-Matrix will respond
42
x = [2, 3, .2]
x
O-Matrix responds
[ 2 , 3 , 0.2 ]
x = {2, 3, .2}
x
O-Matrix responds
{
2
3
0.2
}
x = {[1, 2], [0, 1]}
x
yields
{
[ 1 , 2 ]
[ 0 , 1 ]
}