If statements

This commit is contained in:
2025-11-01 10:30:03 +11:00
parent 5e9c2273a9
commit 4bcbc6c650
5 changed files with 76 additions and 6 deletions

View File

@@ -14,6 +14,13 @@ Print a string: `print name`
Increment an int: `inc name`
If statement:
```py
if bool
# Code here
end if
```
Example program (prints "Hello, World"):
```py
string var 13 "Hello, world!" # Or -1 bytes for a dynamic string