exit(i) # terminates the program setting an exit code of i stop(x1,x2,..) # terminates the program writing out x1,..; if any xi is a file writing switches to that file runerr(i,x) # terminates the program with run time error 'i' for value 'x'