Error types, print lists, better fn calling

This commit is contained in:
2025-09-13 15:47:24 +10:00
parent e56c560514
commit 9e329968d1
5 changed files with 198 additions and 104 deletions

View File

@@ -1 +1 @@
error "Hello, world!"
error "Hello, world!" "sillyError"

View File

@@ -14,7 +14,7 @@ fun -bool !jumpy
return true
endfun
call !jumpy &tmp
!jumpy &tmp
stdlnout "I called a function"

View File

@@ -1,5 +1,6 @@
# A cool list
setlist *favWords "hello" "there" "general" "kenobi"
stdlnout *favWords
set &count 0
set &passedThrough true

View File

@@ -1,5 +1,6 @@
set &var 0
@jump
add 1 $var &var
stdlnout $var
greater 1000 $var &cond
if $cond %2
greater 10000 $var &cond
if $cond %jump