about summary refs log blame commit diff
path: root/users/tazjin/rlox/examples/scope.lox
blob: d563807943ba711b6613633d85f96e472b4e3da4 (plain) (tree)


















                      
var a = "global a";
var b = "global b";
var c = "global c";
{
  var a = "outer a";
  var b = "outer b";
  {
    var a = "inner a";
    print a;
    print b;
    print c;
  }
  print a;
  print b;
  print c;
}
print a;
print b;
print c;