User Tools

Site Tools


4rpl:commands:listn

Index
Lists

ListN

ListN(<-N) ->list

Description

Creates a list and populates it with N items from the stack. The top item on the stack (after N) will be the last item in the list.

Examples

#Will create a list that contains "C" and "D". "A" will remain on the stack.
ListN("A" "C" "D" 2) ->list
trace(GetListCount(<-list)

Index

4rpl/commands/listn.txt · Last modified: 2021/06/17 07:33 by Karsten75