X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=demos%2Fboolean.c;h=1b5f1e2293e946a8018ab8146ff0b124a630a767;hb=bd245bd28cfdcb642e2b341aef366e020b7034d7;hp=838e31c44789501a0058e74167b13f1913c72e57;hpb=099b0ca0180a985138b03ed81290e7268e051756;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) ); }