RosettaCodeData/Task/Program-termination/OCaml/program-termination.ocaml
2023-07-01 13:44:08 -04:00

4 lines
146 B
Text

if problem then
exit integerErrorCode;
(* conventionally, error code 0 is the code for "OK",
while anything else is an actual problem *)