diff options
Diffstat (limited to 'users/tazjin/rlox/examples')
-rw-r--r-- | users/tazjin/rlox/examples/var.lox | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/users/tazjin/rlox/examples/var.lox b/users/tazjin/rlox/examples/var.lox index 133906ad1b2d..7af90b3f0bee 100644 --- a/users/tazjin/rlox/examples/var.lox +++ b/users/tazjin/rlox/examples/var.lox @@ -1,8 +1,8 @@ -{ +var a = 10; +var b = 5; { - var a = 5; - print a; -} - + var b = 10; + var c = 2; + a * b * c; } |