HELPLIB.HLB  —  Getinput  /RANGE
   /RANGE
   /NORANGE

   When /TYPE=INTEGER and /VALID are used together, you see the following
   options:

   $ GETINPUT OutputSymbol /VALID=(1,5)/TYPE=INTEGER

     In this example, OutputSymbol may have a value from 1 util 5.
     When there only two integers in the valid list, /RANGE is default.

   $ GETINPUT OutputSymbol /VALID=(2,4,6)/TYPE=INTEGER

     In this example, OutputSymbol may have the value 2, 4, or 6.
     When there are more than two integers in the valid list, /NORANGE
     is default.

   So when the following is needed,

   $ GETINPUT OutputSymbol /VALID=(2,4)/TYPE=INTEGER

   and you want OutputSymbol to be 2 or 4, use /NORANGE to tell this
   to GETINPUT.
Close Help