X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=demos%2Fboolean.c;h=1b5f1e2293e946a8018ab8146ff0b124a630a767;hb=420bb7716ee099d369582836ef4fc8ab25d81fde;hp=838e31c44789501a0058e74167b13f1913c72e57;hpb=8a93c4ed658e8e9cb807036d8b0f27f10ea5e34f;p=svn%2FCll1h%2F.git diff --git a/demos/boolean.c b/demos/boolean.c index 838e31c..1b5f1e2 100644 --- a/demos/boolean.c +++ b/demos/boolean.c @@ -3,9 +3,9 @@ program { boolean t=TRUE,f=FALSE; - - printf("TRUE and FALSE = %s", bool_str(t and f) ); - printf(",TRUE or FALSE = %s", bool_str(t or f) ); - printf(",not FALSE = %s", bool_str(not f) ); - printf(",not TRUE = %s\n", bool_str(not t) ); + + print("TRUE and FALSE = ", bool_str(t and f) ); + print("TRUE or FALSE = ", bool_str(t or f) ); + print("not FALSE = ", bool_str(not f) ); + print("not TRUE = ", bool_str(not t) ); }