chickadee » stack » stack-cut!

stack-cut! STACK START #!optional ENDprocedure

Removes the STACK elements from the indexes START upto END and returns a list of the stack elements.

The START must be in [0 (stack-count) - 1].

The END must be in [START (stack-count)]. END defaults to (stack-count).

The stack is modified in place.