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


  >  Docs Center  >  Libraries  >  Daithi  >  LENGTH

LENGTH

LENGTH

Name


      LENGTH

Purpose


      Find the length of a vector (or the longest dimension of an array).

Category


      Array

Calling Sequence


      result = Length(array)

Inputs


      array: a vector or array.

Outputs


      result: the length of the input vector (if the input is an
              array with more than 1 dimension then result is the
              length of the longest dimension of 'array').

Example


  IDL> a = StrArr(10)
  IDL> Print,Length(a)
            10
  IDL> b = FltArr(10,10,100)
  IDL> Print,Length(b)
            100

Modification History


  Written by: Edward C. Wiebe, 2002-06-09.



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