getdsoparam
getdsoparam |
Purpose
Synopsis
function getdsoparam(name:string|text):text
Argument
name
|
Name of a control parameter (including the module name).
|
Return value
Current setting of the control parameter as a text.
Further information
1. This function is similar to
getparam except that the control parameter name is searched at runtime. As a consequence this identifier does not need to be a constant string but the execution is significantly slower than
getparam and it cannot be applied to package parameters.
2. The provided parameter name must include the module name (
e.g.
"mmsystem.datefmt") otherwise the identifier is searched only in the list of Mosel parameters.
3. As opposed to
getparam this procedure does not raise an error in case of failure (like parameter not found): use
getsysstat to detect error conditions.
Related topics