Show in Frame
No Frame
6.2.15 Stack
To output the current stack contents, use:
stack
which outputs the stack contents so that the current element of this loop is printed first, and the current element of the outermost loop is printed last.
You can also iterate over the stack with the
do
and
dowhile
commands: see “
Iterating over the stack
” in Section
6.3.10
.
Show in Frame
No Frame