OPTS Variable - Get Current Options Vector

Syntax

OPTS

Description

The OPTS variable returns a string containing the current PRO/5 options vector. The options vector is set by the SETOPTS verb. See the SETOPTS Verb for a complete description of the options vector.

Examples

1000 LET A$=OPTS,A$=IOR(A$(1,2),$0080$); SETOPTS A$

To set the program listing to lower case:

1000 LET A$=OPTS,A$(1,1)=IOR(A$(1,1),$03$); SETOPTS A$

To view the current options vector settings:

1000 PRINT HTA(OPTS)

See Also

Variables - Alphabetical Listing