]> ruin.nu Git - proglang.git/blobdiff - examples/if
added not
[proglang.git] / examples / if
index 4f6040efd83e9541de7e29baf496194caf9e66de..5559a925822952633747faf9415ce6524c7c5a5b 100644 (file)
@@ -1,7 +1,7 @@
 /*
 tests if and if/else
 */
-if (readBool) {
+if (!readBool) {
   if (readInt < 0)
     print true;
   else