SSWTCH - test GCOS switch word.


call sswtch(swit, state)


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


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.