Reads a binary table.
READTB("filename")
"filename" |
- |
A string, the name of the binary table file. |
A series or array.
writetb("bin.dat", SINT, {{1, 2, 3}, {4, 5, 6}});
mydata = readtb("bin.dat");
writes the 2x3 array
{{1, 2, 3},
{4, 5, 6}}
to the file bin.dat as signed integers and reads the array into the variable mydata.
READTB reads a binary table as produced by WRITETB. The data type is saved as part of the file.
READTB does not currently handle DELTAX, XOFFSET or Units.