Atlist retrieves a list item of the specified index. Will return 0 if the index is out of bounds or the retrieved item could not be converted into a serial.
Usage: atlist ('list name') (index (starts with 0))
createlist testlist
clearlist testlist
pushlist testlist 0x1
pushlist testlist 0x2
pushlist testlist 0x3
if atlist testlist 2 as entry
overhead firstentry
else
overhead "index out of bounds or list item retrievend was no serial"
endif
poplist expression
Implemented a second version of poplist as an expression so the item popped can be retrieved via the as operator. Works alongside the normal poplist command.
if poplist testlist back as popped
overhead popped
endif
atlist expression
Atlist retrieves a list item of the specified index. Will return 0 if the index is out of bounds or the retrieved item could not be converted into a serial.
Usage: atlist ('list name') (index (starts with 0))
poplist expression
Implemented a second version of poplist as an expression so the item popped can be retrieved via the
as
operator. Works alongside the normal poplist command.