<<

Contents

Search

>>

 

SET_SWITCHES

 

 

Instruction

 

 

Syntax:

SET_SWITCHES(<Switches>)

 

<Switches> = <STRING-EXPRESSION>

 

Meaning:

Sets the state of all switches.

 

<Switches> must contain for each switch an entry 0 (disabled) or 1 (enabled). Any other value will be interpreted as 0 (disabled).

 

If <Switches> contains the empty String "", all switches are disabled.

 

Parameter:

Switches

Contains all switches separated by ';'.

 

Sample:

SWITCHES$ = GET_SWITCHES$

...

SET_SWITCHES("") // disable all switches

...

SET_SWITCHES(SWITCHES$) // restore switches

 

See also:

GET_SWITCHES$

GET_SWITCH

ENABLE

DISABLE

GET_COLORS$

SET_COLORS

GET_MACROS$

PUT_MACROS