User Tools

Site Tools


4rpl:commands:listn

This is an old revision of the document!


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.1623929600.txt.gz · Last modified: 2025/02/14 14:56 (external edit)