TRUE, FALSE and MAYBE
[svn/Cll1h/.git] / demos / boolean.c
index 1b5f1e2293e946a8018ab8146ff0b124a630a767..aee578c514ecff1c3823044513809acf27ac65d1 100644 (file)
@@ -2,10 +2,13 @@
 
 program
 {
- boolean t=TRUE,f=FALSE;
+ boolean t = TRUE, f = FALSE, m = MAYBE;
 
  print("TRUE and FALSE = ", bool_str(t and f) );
  print("TRUE or FALSE = ", bool_str(t or f) );
+ print("TRUE and MAYBE = ", bool_str(t and m) );
+ print("FALSE or MAYBE = ", bool_str(t or m) );
  print("not FALSE = ", bool_str(not f) );
  print("not TRUE = ", bool_str(not t) );
+ print("not MAYBE = ", bool_str(not m) );
 }
This page took 0.111441 seconds and 4 git commands to generate.