Copies a stack, creating a new stack with the same contents. The elements will be in reverse order.
The return value is the new stack which has been created.
var myStack = newStack ("A", "B", "C", 1, 100, 'someFile.tga'); var anotherStack = copyStack (myStack); # anotherStack now contains ('someFile.tga', 100, 1, "C","B", "A");
The Multi-Purpose Stack / Array / Queue Type
SLUDGE and this SLUDGE documentation are copyright Hungry Software and contributors 2000-2012