KILL

Terminate the calling program

WTSupported in traditional Synergy on Windows

 

USupported on UNIX
VSupported on OpenVMS
xcall KILL

Discussion

The KILL routine terminates the current process. KILL works differently on each operating system.

See also

STOP statement

Examples

The example below can be called to kill the program after an invalid password is entered.

subroutine badpasswd
.define TTCHN   ,1
proc
    open(TTCHN, o, "tt:")
    writes(TTCHN, "Invalid password, logging off")
    xcall cleanup       ;Prepare app. to stop
    xcall kill
endsubroutine