stack
Description
Type Tags
None
Object Value
Objects of type stack have no value, and it is an error to try to get or set this value.
stack.new()
Description
Prototype
stack
.new
(
stack
,
integer me
)
max
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | stack | |
max | .inf | integer |
Properties
Property | Type | Description |
---|---|---|
_ | type(*) | |
__ | type(*) | |
_private | stackprivate | |
clear | function | |
getcount | function | |
getnextitem | function | |
gettopitem | function | |
isempty | function | |
pop | function | |
push | function | |
type | type |
Methods
clear()
Description
Prototype
stackvar
.clear
(
stack
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | stack |
getcount()
Description
Prototype
stackvar
.getcount
(
stack
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | stack |
getnextitem()
Description
Prototype
stackvar
.getnextitem
(
stack
,
type(*) me
)
searchitem
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | stack | |
searchitem | None | type(*) |
gettopitem()
Description
Prototype
stackvar
.gettopitem
(
stack
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | stack |
isempty()
Description
Prototype
stackvar
.isempty
(
stack
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | stack |
pop()
Description
Prototype
stackvar
.pop
(
stack
)
me
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | stack |
push()
Description
Prototype
stackvar
.push
(
stack
,
type(*) me
)
item
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | stack | |
item | None | type(*) |