Obtains from a parameter character values from either a menu of options or within a
numeric range PAR_MIXVx
There is a routine for each of the data types double precision, integer, and real: replace "x"
in the
routine name by D, I, or R respectively as appropriate. The VMIN and VMAX arguments must have
the corresponding data type.
There are two stages to identify or validate each character value obtained from the parameter.
In the first the value is converted to the data type specified by the "x"
in the routine name. If
this is successful, the derived numeric value is compared with the range of acceptable
values defined by VMIN and VMAX. A value satisfying these constraints is returned in the
VALUES.
The second stage searches for a match of the character value with an item in the menu. This step adheres to the following rules.
"x"
in the routine name. If this
is successful, the numeric value is compared with the range of acceptable values defined
by VMIN and VMAX. A value satisfying these constraints is returned and the matching
process terminates.
"
10,100,200"
would be an acceptable list of options.
This routine exits when all the values satisfy the criteria.