Add lists (MEMORY ERRORS)

This commit is contained in:
2025-12-01 10:15:37 +11:00
parent 0b917a6702
commit 6eeccf58fe
5 changed files with 202 additions and 16 deletions

14
tests/list.grnd Normal file
View File

@@ -0,0 +1,14 @@
# A cool list
setlist &favWords "hello" "there" "general" "kenobi"
println $favWords
set &count 0
set &passedThrough true
@jmpbck
getlistat &favWords $count &tmp
println $tmp
add $count 1 &count
getlistsize &favWords &tmp2
inequal $count $tmp2 &tmp3
if $tmp3 %jmpbck