mirror of
https://github.com/Noratrieb/dilaria.git
synced 2026-01-14 17:35:03 +01:00
if
This commit is contained in:
parent
88a3a585e7
commit
4e30201be4
11 changed files with 222 additions and 20 deletions
12
test.dil
12
test.dil
|
|
@ -1,5 +1,11 @@
|
|||
print "hi";
|
||||
let x = 5;
|
||||
|
||||
let is_bigger = "hallo" > "a";
|
||||
let y = 0;
|
||||
|
||||
print (not is_bigger) or true;
|
||||
if x < 0 {
|
||||
y = x;
|
||||
} else {
|
||||
y = "hello it is smaller";
|
||||
}
|
||||
|
||||
print y;
|
||||
Loading…
Add table
Add a link
Reference in a new issue