[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USGS SDTS - revisited



"Kelly Dean" <krdean@lamar.colostate.edu> wrote in message
3A2C2F83.35D6961@lamar.colostate.edu">news:3A2C2F83.35D6961@lamar.colostate.edu...

>  This program was developed under Windows 2000, so if you try this on a
> UNIX machine, the keyword /Swap_Endian will need to be removed from the
> Open statements. The /Swap_Endian keyword should remain for Linux and
> VAX users.

Note that OPEN supports SWAP_IF_BIG_ENDIAN and SWAP_IF_LITTLE_ENDIAN
keywords that can be used to make code like this fully portable. They were
introduced in version 5.1.

---
Mark Hadfield
m.hadfield@niwa.cri.nz  http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand