User Tools

Site Tools


4rpl:commands:createlist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:createlist [2021/01/08 11:01] – external edit 127.0.0.14rpl:commands:createlist [2024/02/14 21:18] (current) – old revision restored (2024/02/14 14:58) digitalizedMind
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<=[[4rpl:start| Index]] \\ 
 +<=[[4rpl:start#lists| Lists]] 
  
 ====== CreateList ====== ====== CreateList ======
Line 6: Line 8:
  
 ===== Description ===== ===== Description =====
-Creates an empty list.+Creates an empty list and pushes it onto the stack. If saved in a variable, then whatever was in that variable previously gets dropped (and garbage collected) and replaced with the new list just created. 
 + 
 +:WARNING: If you do the following, or something similar: '' CreateList dup ->list1 ->list2 '' The list assigned to each var will ALWAYS be the same. Therefore, any changes applied to either variable will affect both.
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/createlist.1610121708.txt.gz · Last modified: 2021/01/08 11:01 by 127.0.0.1