X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=examples%2Fif;h=5559a925822952633747faf9415ce6524c7c5a5b;hb=HEAD;hp=c002570c0670c9fee5ac555807204478339b1921;hpb=67721d82f79e56db9c728aed76a3ad9dcca005c2;p=proglang.git diff --git a/examples/if b/examples/if index c002570..5559a92 100644 --- a/examples/if +++ b/examples/if @@ -1,6 +1,9 @@ -if (readBool) { +/* +tests if and if/else +*/ +if (!readBool) { if (readInt < 0) print true; else print false; -} \ No newline at end of file +}