implement scoping 🎉
This commit is contained in:
16
IBAF-Tests/IBAF-1/scopes.ibaf
Normal file
16
IBAF-Tests/IBAF-1/scopes.ibaf
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
int z =5;
|
||||
int x =5*3;
|
||||
print(x);
|
||||
|
||||
x = 2;
|
||||
print(x*3);
|
||||
|
||||
{
|
||||
int y =4;
|
||||
print (y);
|
||||
}
|
||||
|
||||
z = z * x;
|
||||
print(z);
|
||||
print(z+x);
|
||||
Reference in New Issue
Block a user