Arbortext Command Language > Functions by Alphabetical Listing > option
  
option
option(string[, session])
This function returns the local scope (window, document, or view) value of the set option specified by string, which may be an initial substring. If the optional boolean session parameter is true, the option returns the session scope value for the set option specified by string. The result is a string which may be passed to the set command. Boolean values return on or off.
Examples
$ptr = option("printer");
$cxon = option("contextrules") == "on";
if (option("tabletags",1) == "off") { ...}
Related Topics
Set option scope
option_scope function
set command