Links are not active on this page.
 SYS(2001) - SET ... Command Status

Returns the status of the specified SET commands.

SYS(2001, cSETCommand [, 1 | 2])

Parameters

cSETCommand

Specifies the SET command whose status SYS(2001) returns.

1 | 2

Some SET commands have two or more settings; for example, SET PRINTER ON, SET PRINTER OFF, and SET PRINTER TO FileName. Use SYS(2001) without 1 or 2 to return the ON or OFF switch setting. Use SYS(2001) with 1 or 2 to return the additional settings. See SET( ) Function for a list of SET commands for which additional information is returned when 1 or 2 is included.

Expand imageReturn Value

Character

Expand imageRemarks

SYS(2001) is identical to SET( ).

Expand imageExample

 CopyCode imageCopy Code
? SYS(2001,'PRINTER')
? SYS(2001,'PRINTER',1)

Expand imageSee Also