X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fscope;fp=examples%2Fscope;h=8e90e04c3b75f1c86cdcc4afe9bc4b204581af53;hb=b2a94f77235a88731d63a1251f53720f869492c8;hp=0000000000000000000000000000000000000000;hpb=9d0e3c89b286456549c68a816d0729f193498f6a;p=proglang.git diff --git a/examples/scope b/examples/scope new file mode 100644 index 0000000..8e90e04 --- /dev/null +++ b/examples/scope @@ -0,0 +1,7 @@ +int a = 3; + +if (a == 3){ + bool a = true; + if (a) print a ; +} +print (a+5);