RosettaCodeData/Task/Program-termination/OCaml/program-termination.ocaml

5 lines
146 B
Text
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
if problem then
exit integerErrorCode;
(* conventionally, error code 0 is the code for "OK",
while anything else is an actual problem *)