verifGetOptionVal
verifGetOptionVal(g_sessionId t_optionName) =>t_optionValue/ nil
Description
Returns the value of a preference option set in a Verifier session.
Arguments
|
Integer, string number, or window specifying the Verifier session ID. For example, |
|
|
The name of the preference option. The name must be one of the values returned by verifSetOptionVal. |
Value Returned
|
The specified option does not have a value, or the command is not successful. |
Examples
The following example opens a Verifier cellview, and retrieves the values of the specified options. For options that are switched on or off, Verifier returns t or nil, respectively. For options with other values, Verifier returns the set values.
uid=verifOpenCell("test" "sample" "verifier")
=> 0
verifGetOptionVal(uid "enableCoverage")
=> t
verifGetOptionVal(uid "simparallelcount")
=> 2
verifGetOptionVal(uid "reqspecs")
=> "Use Requirement Spec and Check"
Related Topics
Verifier Session and Setup Functions
Return to top