so... jai :D

This commit is contained in:
agra
2026-02-04 01:34:30 +02:00
commit 55fc5790e4
60 changed files with 15876 additions and 0 deletions

23
examples/18-conditions.sx Normal file
View File

@@ -0,0 +1,23 @@
#import "modules/std.sx";
main :: () {
x:= 32;
y:= 40;
if 0 <= x <= 100 and 0 <= y <= 100 {
print("contained");
}
if 0 <= x <= 100 and 0 <= y <= 100 {
print("contained");
}
if 1000 > x > -100 and 0 <= y <= 100 {
print("contained");
}
if 1000 > x >= -100 and 0 <= y <= 100 {
print("contained");
}
}