|
Contents | Previous | Next | Subchapters |
| Syntax |
[ value ... ; value, ... ... ] |
| O-Matrix Mode | building |
[ and ]
are used as a separator between entries in the same row of a matrix.
The semicolon and new line characters are used as separators between
different rows a of a matrix.
[ 1 +2,1+2 ]
O-Matrix will reply
[ 1 , 2 , 3 ]
If you continue by entering
[ 1 , 2 ; 3 4 ]
O-Matrix will respond
{
[ 1 , 2 ]
[ 3 , 4 ]
}
You cannot use new the new line
to separate rows at the command line,
but if there is a file named TEMP.M
(in the current working directory
) that contains
[ 1 2
3 4 ]
and you enter
temp
O-Matrix will respond
{
[ 1 , 2 ]
[ 3 , 4 ]
}