verifSetOptionVal
verifSetOptionVal(
g_sessionId
t_optionName
g_value
)
=> t / nil
Description
Sets the value of the specified preference option in a Verifier session.
Arguments
|
Integer, string number, or window specifying the Verifier session ID. For example, |
|
Value Returned
|
The specified option does not exist or the value is invalid. |
Examples
The following example shows how to set the value of a preference option.
sess = verifOpenCellView("test" "sample" "verifier")
=> 0
verifSetOptionVal(sess "simparallelcount" 4)
=> t
verifSetOptionVal(0 "displaymax" t)
=> t
verifSetOptionVal(sess "simparallelcount" "abc")
*WARNING* (VERIFIER-1803): verifSetOption: invalid value '"abc"' for integer option - check the value and try again.
=> nil
verifSetOptionVal(sess "xxx" "1")
*WARNING* (VERIFIER-1800): verifSetOption: unknown option: 'xxx'
=> nil
Related Topics
Verifier Session and Setup Functions
Return to top