getparam
getparam |
Purpose
Synopsis
function getparam(name:string):integer|string|real|boolean
Argument
|
name
|
Name of the control parameter whose value is to be returned (case insensitive).
|
Return value
Current setting of the control parameter.
Further information
1. Parameters whose values may be returned by this function include the settings of Mosel as well as those of any loaded module. The module may be specified by prefixing the parameter name with the name of the module (
e.g.
mmxprs.XPRS_verbose). The type of the return value corresponds to the type of the parameter.
2. This function can be applied only to control parameters whose value can be accessed.
3. The
name argument must be a constant string: a model parameter, variable or string expression cannot be used as a control parameter name.
4. The following control parameters are supported by Mosel:
|
realfmt
|
|
|
zerotol
|
|
|
ioctrl
|
|
|
iostatus
|
|
|
nbread
|
|
|
readcnt
|
|
|
UTC
|
|
|
autofinal
|
|
|
tmpdir
|
|
|
workdir
|
|
|
restrict
|
active restrictions (integer). See Section
mosel command: restricted mode for further details.
|
|
modelname
|
|
|
modelnumber
|
|
|
recloc
|
|
|
localedir
|
|
|
lang
|
5. Function
getparam may also be used to retrieve
parser parameters
. As opposed to the other parameters whose value is computed at run time, these parameters are evaluated as soon as they are parsed:
|
parser_line
|
|
|
parser_file
|
|
|
parser_date
|
|
|
parser_time
|
|
|
parser_UTCdate
|
|
|
parser_UTCtime
|
|
|
parser_version
|
|
|
model_version
|
Related topics
© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation ("FICO"). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
