added else, elseif, cleaned up

This commit is contained in:
afonya2 2025-05-24 16:27:53 +02:00
parent efaca55138
commit eae6c61c24
Signed by: afonya
GPG key ID: EBB9C4CAFAAFB2DC
4 changed files with 66 additions and 1 deletions

10
test.as
View file

@ -7,4 +7,14 @@ gethelj d = lőcsve(e,f) {
}
ha geny (1 == 1) {
ugass(1)
} ha nem geny {
ugass(2)
} ha nem geny akkor geny (1 == 2) {
ugass(3)
}
amíg geny (1 == 1) {
kraf
}
kopva (gethelj i = 0; i < 10; i = i + 1) {
ugass(i)
}