Arbortext Command Language > Functions by Alphabetical Listing > option_scope
  
option_scope
option_scope (option)
This function returns the scope for the specified option. Available return values are:
global — specified option has no local scope, only a session scope.
window — specified option has a session scope and a local scope of window.
doc — specified option has a session scope and a local scope of document.
view — specified option has a session scope and a local scope of view.
If the specified option is invalid, the function returns nothing.
Examples
eval option_scope("tagdisplay")
$ret = option_scope("showentities")
eval option_scope("gentext")
Related Topics
Set option scope
set command