up previous next

Option

Syntax

Option(O):BOOL

where O is a panel option.
    

Summary

status of a panel option

Description

This function returns the status of a panel option (TRUE/FALSE). For a list of panels, use Panels and for the current status of each option for a panel with name P, use Panel(P). To toggle option values, use Set and Unset. The function Option is particularly useful inside a user-defined function in order to temporarily change the value of an option (restoring the option's original value when the function is complete). See "Setting Options" for an example of this use of Option.

example

    
Option(Indentation);
FALSE
-------------------------------
        
    

See Also