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

@@ -30,4 +30,16 @@ create var *5 = "Hello"
if bool {
set var = "BASM!"
}
```
## while bool
Runs code until a boolean is false
Example:
```
create bool *1 = true
while bool {
# Loops forever because bool is never false
}
```