some work
[svn/Cll1h/.git] / demos / boolean.c
CommitLineData
099b0ca0 1#include "cll1.h"
2
3program
4{
24c437c2 5 boolean t = TRUE, f = FALSE, m = MAYBE;
420bb771 6
7 print("TRUE and FALSE = ", bool_str(t and f) );
8 print("TRUE or FALSE = ", bool_str(t or f) );
24c437c2 9 print("TRUE and MAYBE = ", bool_str(t and m) );
10 print("FALSE or MAYBE = ", bool_str(t or m) );
420bb771 11 print("not FALSE = ", bool_str(not f) );
12 print("not TRUE = ", bool_str(not t) );
24c437c2 13 print("not MAYBE = ", bool_str(not m) );
099b0ca0 14}
This page took 0.134596 seconds and 4 git commands to generate.