RosettaCodeData/Task/Program-termination/OCaml/program-termination.ml
2024-10-16 18:07:41 -07:00

4 lines
146 B
Standard ML

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