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

LASTINDEX

LASTINDEX

Name


      LASTINDEX

Purpose


      Returns last index for each dimension of the given array.

Category


Calling Sequence


      lastindex, array, l1, l2, ... l8

Inputs


      array = given array. in

Keyword Parameters


Keywords


        /SIZE means return size of each dimension.
              Else return last index of each dimension.

Outputs


      l1, l2, ... = last index for each dimension. out
        Max of 8 dimensions.

Common Blocks


Notes


Modification History


      R. Sterner, 5 Jan, 1990
      R. Sterner, 18 Mar, 1990 --- removed execute (recursion problem).
      R. Sterner, 2005 Apr 19 --- Corrected to match name. Keyword
      /SIZE added for some backward compatability.
  Copyright (C) 1990, 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