BBjConfig::getOptionSetting
Description
In BBj 6.0 and higher, this method retrieves !OPTIONS values from STBL() functions.
Syntax
Return Value |
Method |
---|---|
boolean |
getOptionSetting(string optionName) |
Parameters
Variable |
Description |
---|---|
optionName |
Name of !OPTIONS value to be retrieved from STBL. |
Return Value
The current value of the specified !OPTION value in the STBL table.
Remarks
The optionName can be any of the following:
Key |
Effect on Program |
Default Value |
THROW_UNWINDS |
Causes THROW to unwind the program stack in search of an error handler, even if Drop to Console is allowed in public program. |
True |
ERROR_UNWINDS |
Causes program errors to unwind the program stack in search of an error handler, even if Drop to Console is allowed in public program |
False |
SESSION_PINNING |
In BBj 7.0 and higher, toggles session pinning. See also BBjConfig::setOptionSetting. |
True |
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.