// simple scoped blocks
{ 5 };
{ true; false };
{ { 'T' } };
4 == {'a'; { 4 } };

// simple scoped variables
var int myInt;
var int otherInt;
otherInt := 4;
myInt := {
    otherInt+3
};
myInt := {
    var char myChar;
    myChar := 'A';
    4
};

// redeclared variables
{
    var int myInt;
    myInt := 8;
    otherInt := myInt+1;
};
var bool myBool;
myBool := {
    var myInt myInt;
    var myInt otherInt;
    otherInt := {
        var int myInt;
        99 + (myInt := 100);
    };
    otherInt > 3;
};

print(otherInt, myInt, myBool);
