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 
0 
For "zerotol" (real),
1 
For "realfmt" (string),
2 
For "ioctrl" (Boolean),
3 
For "iostatus" (integer),
4 
For "nbread" (integer),
5 
For "readcnt" (Boolean)
6 
For "UTC" (Boolean)
7 
For "autofinal" (Boolean)
8 
For "tmpdir" (string)
9 
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