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