Initializing help system before first use

getparam

getparam


Purpose
Get a Mosel control parameter value.
Synopsis
int getparam(XPRMcontext ctx, int parnum, XPRMalltypes *value);
Arguments
ctx 
Mosel's execution context
parnum 
For "zerotol" (real),
For "realfmt" (string),
For "ioctrl" (Boolean),
For "iostatus" (integer),
For "nbread" (integer),
For "readcnt" (Boolean)
For "UTC" (Boolean)
For "autofinal" (Boolean)
For "tmpdir" (string)
For "workdir" (string)
10 
For "restrict" (integer)
11 
For "modelname" (string)
12 
For "modelnumber" (integer)
value 
Parameter value, the type depends on the parameter.
Return value
0 if successful, 1 otherwise.
Further information
Get the value of a control parameter of Mosel. To get the value of a module control parameter, the function getdsoparam must be used. The reader is referred to the Mosel Reference Manual for a description of the Mosel control parameters.
Related topics