Stop
(Engine-Level Function)
| Description: | Causes the immediate termination of VTScada, closing all windows. |
| Returns: | Nothing (optional return parameter may be used) |
Usage: ![]() |
Script Only. |
| Function Groups: | Software and Hardware |
| Related to: | Slay | WindowClose | |
Format: ![]() |
Stop([ExitValue]) |
| Parameters: |
| ExitValue |
| An optional parameter that can be used to return a value to the calling program or batch file when VTScada exits. If not specified, the exit value from VTScada is 0, indicating "normal exit". |
| Comments: |
Not recommended in general, and especially not recommended for use in page code, where it may cause an untidy exit. Shutdown resulting from the Stop() function may take a long time complete. |
