stack
assigned to it from the require
.
s
as
the variable name.
stack.create([name]) |
stack with optional name |
stack.create(size [,name]) |
stack, optional initial capacity and name |
returns empty stack,
create and new are synomyms
|
s:push(item[,[item[,...]]) |
push arguments |
s:clear() |
make stack empty |
both return stack |
s:pop() |
pop and top of stack, or nil |
s:top() |
top of stack, or nil |
s:empty() |
return true/false for stack empty/notempty |
s:size(), #s |
return stack height |
s:ident() |
identity stamp, name or nil |
q:print() |
header plus full contents string |
stack.version() |
return version of module |