mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-19 16:54:08 +10:00
Fixed unary negation bug, removed newline from print
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import compound;
|
||||
|
||||
var a = [false, false, false];
|
||||
var d = ["one": false, "two": false];
|
||||
|
||||
print d.containsKey("one");
|
||||
print d.containsKey("three");
|
||||
var xrel: int = 0;
|
||||
var yrel: int = 0;
|
||||
|
||||
if (xrel > 1 || xrel < -1 || yrel > 1 || yrel < -1) {
|
||||
print "outside";
|
||||
}
|
||||
else {
|
||||
print "inside";
|
||||
}
|
||||
Reference in New Issue
Block a user