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

LISTRUNS

LISTRUNS

Name


      LISTRUNS

Purpose


      Make a list of runs of consecutive integers.

Category


Calling Sequence


      listruns, w, txt

Inputs


      w = array of integers (indices). in

Keyword Parameters


Keywords


        /list means display list on screen.
        WIDTH=wd set string array width (def=40).

Outputs


      txt = text string array with runs listed. out

Common Blocks


Notes


Notes


        Each run is listed in the form b:e:s where b is the
        run beginning value, e is the run ending value,
        and s is the run step size. If s = 1 it is not listed.
        Isolated indices are listed by themselves.
Inverse of CONVERT_IND.

Modification History


      R. Sterner, 15 Jul, 1991
  Copyright (C) 1991, 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