|
Contents | Previous | Next | Subchapters |
| Syntax |
read(file, mtype, nr)
|
| See Also | read(file, mtype) , bread(file) , and read(file, mtype, nr, nc) |
complexvals.dat that contains the text
representation of the following complex values
(1,2) (3,4) (5,6)
(7,8) (9,10) (11,12)
by entering the following commands
clear
file = "complexvals.dat"
rmfile(file);
write(file, "(1,2) (3,4) (5,6)")
write(file, "(7,8) (9,10) (11,12)")
close(file)
If you then enter
read("complexvals.dat", "complex", 2)
O-Matrix will respond
{
[ (1,2) , (3,4) , (5,6) ]
[ (7,8) , (9,10) , (11,12) ]
}