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

@@ -1,5 +0,0 @@
string str1 13 "Hello, world!"
string str2 -1 "Testing dynamic string!"
int var -1
inc var
inc var

7
tests/test.basm Normal file
View File

@@ -0,0 +1,7 @@
string str1 -1 "Hello, world!"
int num 100
bool cond true
if cond
inc num
end if