Files
BrainAssembly/tests/test.basm

13 lines
200 B
Plaintext
Raw Normal View History

2025-11-03 13:50:32 +11:00
int num1 796
2025-11-01 10:30:03 +11:00
string str1 -1 "Hello, world!"
2025-11-03 13:50:32 +11:00
int num2 795
string str2 -1 "World, hello?"
equal num1 num2 cond
2025-11-01 10:30:03 +11:00
if cond
2025-11-03 13:50:32 +11:00
print str1
end if
inc num2
equal num1 num2 cond2
if cond2
print str2
2025-11-01 10:30:03 +11:00
end if