RosettaCodeData/Task/Program-termination/Icon/program-termination.icon

4 lines
259 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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'