Source: hsio/hs_fmode.pro
HS_FMODE Determine floating point types of an HSIO file Usage: fmode = hs_fmode(unit, iswap) Return Value: fmode byte 0 = Native data, 2 = IEEE data (swapped or on non IEEE platform), 4 = VMS data, 8 = byte data. Arguments: unit long The unit on which the file is open. iswap byte Whether the file headers are swapped. History: Original (after C-code): 24/11/03; SJT Make use of passed ordering information and fix some cases where VAX numbers can give false positives: 18/2/04; SJT