*SHUTDOWN (GETMODE)


PLBCMP GUI Only

*SHUTDOWN={value}

 

The *SHUTDOWN control reports the Windows shutdown mode. If this mode is OFF, Windows will not shut down while the PL/B program is active. If this mode is ON and Windows is shutdown, the operating system terminates the PL/B program and then shuts down the system. The default mode is OFF.

 

{value} is a previously defined Numeric Variable that receives the shutdown mode.

 

The {value} returned is one of the following:

 

Value

Windows shutdowns are ...

0

OFF (default).

1

ON.

99

invalid (PLBCON)

 

See Also: List Controls (GETMODE), GETMODE

 



PL/B Language Reference *SHIFTINV (GETMODE) *SKIPFOCUS (GETMODE)