language-Modula2-0.1: examples/Modula-2_Libraries/PMOS/sources/tests/booltest.mod
MODULE BoolTest;
(* This test shows that TRUE=1, FALSE=0. *)
(* (By examination of the compiled code). *)
(* In tests, TRUE=nonzero *)
VAR x: BOOLEAN;
BEGIN
x := TRUE;
x := FALSE;
IF x THEN
x := NOT x;
END (*IF*)
END BoolTest.