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

NEXTNUM

NEXTNUM

Name


      NEXTNUM

Purpose


      Return next number using the arrow keys.

Category


Calling Sequence


      n = nextnum(m)

Inputs


      m = input number. in

Keyword Parameters


Keywords


        STEPS=s give list of allowed step sizes.
          Ex: STEPS=[1,5,10]. Use Up and down arrows to select.
        LIMITS=l gives lower and upper limits on n.
          Ex: LIMITS=[0,100] allows numbers from 0 to 100.
        /MENU gives menu selection of a number in the limit range.
          If returned value is 1 less than lower limit then quit
          was selected. Best for a small range of values.
        EXIT=e returns character typed on keyboard.

Outputs


      n = output number. out
        n is + or - 1 step from m.

Common Blocks


      nextnum_com

Notes


      Notes: a number may also be directly typed in, a non-digit
        terminates the number entry and returns the number.
        The ENTER key gives a menu to select from.
        Best for a small range.

Modification History


      R. Sterner, 21 Mar, 1990
  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