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

MAKES

MAKES

Name


      MAKES

Purpose


      Make a string array of integers from lo to hi by step.

Category


Calling Sequence


      s = makes(lo, hi, step)

Inputs


      lo, hi = array start and end values. in
      step = distance beteen values. in
        Sign of step determines order of result.

Keyword Parameters


Keywords


        DIGITS=d Number of digits in result (up to 30).
          Forces leading zeros if needed.

Outputs


      s = resulting string array. out

Common Blocks


Notes


      Note: no leading or trailing spaces, useful for
        generating file names with embedded numbers.
        Numbers that need more digits will have them.

Modification History


      R. Sterner, 1995 Feb 22
      R. Sterner, 1995 Aug 14 --- Added DIGITS keyword.
      R. Sterner, 2002 Apr 29 --- Replaced string with stringform.
      R. Sterner, 2013 May 01 --- Rewrote to avoid overflow.
  Copyright (C) 1995, 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