fixed reassignment, starting work on if statements
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
main = Func(): Int {
|
||||
x: Int = 0;
|
||||
x: Int = 123;
|
||||
|
||||
x = x * 2;
|
||||
if x == 123 {
|
||||
x = 0;
|
||||
} unless {
|
||||
x = 1;
|
||||
}
|
||||
|
||||
return x;
|
||||
}
|
||||
Reference in New Issue
Block a user