ShutdownMode
Gets the mode of the last Shutdown function call. The mode is useful to identify the type of Shutdown that was performed.
Syntax
ShutdownMode()
Return Value
The shutdown mode set when shutdown was called.
Related Functions
Example
nMode = ShutdownMode()
If nMode = 4 Then
Prompt ("Citect closed down and computer was rebooted")
END
See Also