|
Contents | Previous | Next | Subchapters |
| Syntax |
expressionexpression;
|
| See Also | print , setprint |
; is not present,
displays the value of the expression.
2.3e-3
results in
0.0023
( i , 1 , 2 + 3 i)
by entering
[1i0, 1, 2 + 3i0]
to which O-Matrix will respond
[ (0,1) , (1,0) , (2,3) ]
If you print a row vector containing characters,
O-Matrix will not display the brackets or commas. For example,
["a", "b", "c"]
results in
abc
/ 1 2 3 \
\ 4 5 6 /
by entering
{[1, 2, 3], [4, 5, 6]}
O-Matrix will respond
{
[ 1 , 2 , 3 ]
[ 4 , 5 , 6 ]
}
Note that O-Matrix displays each row on a separate line.
If the expression is followed by a semicolon or has no value,
it is not printed. If you enter
novalue
or
{[1, 2, 3], [4, 5, 6]};
O-Matrix will not display output in the Command window.