>  Docs Center  >  Libraries  >  ASTROLIB  >  N_BYTES
Libraries

N_BYTES

N_BYTES

Name


      N_bytes()

Purpose


      To return the total number of bytes in data element

Calling Sequence


      result = N_bytes(a)

Inputs


      a - any idl data element, scalar or array

Outputs


      total number of bytes in a is returned as the function value
      (64bit longword scalar)

Notes


      (1) Not valid for object or pointer data types
      (2) For a string array, the number of bytes is computed after conversion
          with the BYTE() function, i.e. each element has the same length,
          equal to the maximum individual string length.

Modification History


      Version 1 By D. Lindler Oct. 1986
      Include new IDL data types W. Landsman June 2001
      Now return a 64bit integer W. Landsman April 2006



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us