INTEGER
Keywords: sic

Next: LOGICAL Up: TASK Language Internal Help Previous: GO Contents Index

##
INTEGER

            TASK\INTEGER   "Prompt text"  Name[Ndim]  =  [Value  ..  Value_Ndim]
        [/RANGE]
          [/INDEX String1 ... StringN [*]] [/CHOICE Value1 ... ValueN [*]]

        Define the parameter Name of Integer type and dimension Ndim (or scale),
        and  assign it a value if specified. Otherwise, prompt with the text for
        value(s). Both I*4 and I*8 parameters are supported by this command.

        The /RANGE option restrict the valid range for the  values.  In  Windows
        mode, it activates a slider.

        A list of character strings can be provided with the option /INDEX. This
        /INDEX option means to return the rank of the  given  string  among  the
        available choices.  A * as the last choice means any other value is also
        valid.

        A list of predefined values can be provided with the option /CHOICE.  If
        a wildcard (*) is present in the list, a custom value can also be set by
        the user.