DIM array 5 ("He", "llo", ", ", "Worl", "d!")
# add all elements of the array and print
PRINT array(+)
# append "lol" to all array
array = array(+"lol")
# add all elements of the array and print
PRINT array(+)
Alternatively we do something that fits the vibe of the language better and just have a SUM command. Something like this:
DIM array 5 ("He", "llo", ", ", "Worl", "d!")
SUM array TO result
PRINT result
Very important feature
Here's some funny looking syntax for it
Alternatively we do something that fits the vibe of the language better and just have a
SUM
command. Something like this: