SSWTCH - test GCOS switch word.

Usage:

call sswtch(swit, state)

Where:

swit
is an integer expression which must be from 1 to 6 and designates which switch bit is to be tested.
state
is an integer variable where the state of the switch is returned.
1
the switch is on
2
the switch is off

Description:

SSWTCH tests bits 6-11 of the GCOS program switch word. This is only really of use in batch where these bits are set by options ON1 to ON6 on the $EXECUTE or $PROGRAM card. In TSS these bits have other meanings, and using them for controlling a program may have unexpected side effects. In batch, the ON1 bit (PSW bit 6) is used by the RLHS program, and so it should be avoided also.

See Also:

expl f77 lib iretsw

expl f77 lib isetsw

Copyright © 1996, Thinkage Ltd.