implementing global variables (ch21)
This commit is contained in:
5
samples/ch21_breakfast.lox
Normal file
5
samples/ch21_breakfast.lox
Normal file
@ -0,0 +1,5 @@
|
||||
var breakfast = "beignets";
|
||||
var beverage = "cafe au lait";
|
||||
breakfast = "beignets with " + beverage;
|
||||
|
||||
print breakfast;
|
Reference in New Issue
Block a user