Game Basics
Features
Mapmaking
Game Basics
Features
Mapmaking
This is an old revision of the document!
dup
Duplicates the item currently on the stack without removing the original item.
If you do the following, or something similar:
CreateList dup ->list1 ->list2
This will create a shallow copy of the list, so that any changes made to them will affect both. Use DeepCopy.
trace2(42 dup) #prints '42 42'