Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  Libraries  >  ASTROLIB  >  N_BYTES

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



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