Source: hsio/hs_tmode.pro
HS_TMODE
Check the byte ordering etc. of a potential HSIO file.
Usage:
code = hs_tmode(file)
Return Value:
code byte Bitwise code to tell us what it is:
1 = byte swapped, 2 = IEEE floats, 4 = VMS
floats, 8 = byte data, 128 = compressed. OR
255 for a failure.
Arguments:
file string input The name of the file to open.
recl long output The "physical" record length of the file.
History:
Original: After C-code: 24/11/03; SJT
Add recl argument: 28/11/03; SJT