GIT.Harvie.CZ
/
svn
/
Cll1h
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TRUE, FALSE and MAYBE
[svn/Cll1h/.git]
/
demos
/
boolean.c
diff --git
a/demos/boolean.c
b/demos/boolean.c
index 1b5f1e2293e946a8018ab8146ff0b124a630a767..aee578c514ecff1c3823044513809acf27ac65d1 100644
(file)
--- a/
demos/boolean.c
+++ b/
demos/boolean.c
@@
-2,10
+2,13
@@
program
{
program
{
- boolean t
=TRUE,f=FALS
E;
+ boolean t
= TRUE, f = FALSE, m = MAYB
E;
print("TRUE and FALSE = ", bool_str(t and f) );
print("TRUE or FALSE = ", bool_str(t or f) );
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 FALSE = ", bool_str(not f) );
print("not TRUE = ", bool_str(not t) );
+ print("not MAYBE = ", bool_str(not m) );
}
}
This page took
0.142871 seconds
and
4
git commands to generate.