Previous: x/ zvipstat Up: Parameter Routines Next: x/ zvpone
call xvparmd(name, value, count, def, maxcnt) status = zvparmd(name, value, count, def, maxcnt, length);
Double-precision version of x/ zvparm.
This routine is exactly like x/ zvparm, except that if the parameter being returned is REAL, the VALUE parameter is returned in double precision format. x/ zvparm returns the value in single precision. Although VALUE supports integers and strings as well, x/ zvparmd should generally be used only for double-precision numbers. x/ zvparm should be used for integers and strings.
This routine replaces the functionality of the R8FLAG parameter that was previously on xvparm.
Arguments:
NAME is the name of the parameter to get values from.
The value of the parameter is returned in the VALUE array. The type of the value depends on the type of the parameter, which is either INTEGER, STRING, or REAL (double-precision).
Reports the number of values returned in the VALUE parameter. A COUNT of 0 means the parameter either had a null value or was not found.
Returns 1 if the parameter was defaulted, and 0 otherwise.
NOTE: The DEF flag is obsolete and should not be used.
Specifies the maximum number of values to return. 0 means no limit.
Specifies the length of each string if a string array is passed in for VALUE. Useful only from C; Fortran gets string lengths automatically. If the parameter is not a string, or is only a single string, set LENGTH to 0.