>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  ENDIAN

ENDIAN

ENDIAN

Name


      ENDIAN

Purpose


      Function indicating which endian the current machine uses.

Category


Calling Sequence


      f = endian()

Inputs


Keyword Parameters


Keywords


        /LIST means list result to screen.
        /TEXT means return /LIST text.

Outputs


      f = 0 if little, 1 if big. out

Common Blocks


Notes


      Note: this is the order the bytes are for multibyte
        numeric values. Use the IDL procedure BYTEORDER
        to switch endian (use /LSWAP for 4 byte integers,
        /L64SWAP for 8 byte integers).

Modification History


      R. Sterner, 1999 Dec 13
      R. Sterner, 2000 Apr 11 --- Added /TEXT
      R. Sterner, 2010 May 04 --- Converted arrays from () to [].
  Copyright (C) 1999, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us