While loop

This commit is contained in:
2025-10-10 14:19:07 +11:00
parent 11f708a9fd
commit ea55468a10
4 changed files with 68 additions and 15 deletions

View File

@@ -1,5 +1,14 @@
create bool *1 = false
create var *5 = "Hello"
if bool {
set var = "BASM!"
}
create bool *1 = true
create hello *5 = "Hello"
create bool2 *1 = true
while bool2 {
set bool2 = false
if bool {
set bool2 = true
}
if bool2 {
set bool = false
print hello
}
}
set bool2 = true