The funtion stinit
creates an empty stack named stname
.
The funtion stclear
removes the stack named stname
.
The funtion stpush
appends element value
at the end of the
stack named stname
.
The funtion stpop
removes the last element of the stack named
stname
and returns it invisible.
The funtion stunshift
appends element value
at the beginning of
the stack stname
.
The funtion stshift
removes the first element of the stack named
stname
and returns it invisible.
The funtion stseek
returns the last element of the stack named
stname
but does not remove it.
The funtion stfirst
returns the first element of the stack named
stname
but does not remove it.
The funtion stlist
returns the stack named stname
as list.
The funtion stlength
returns the number of elements stored in the stack
named stname
.
The funtion stexists
returns TRUE
if a stack named
stname
exists, otherwise FALSE
.