Implements a stack of Variant values.
Description
The CalculationStack class allows you to implement a stack of Variant values.
Properties
length
Length.
int get length
- returns: int - length
Instance methods
pop
Removes and returns the last value from the list.
Variant pop()
- returns: Variant - the last value from the list.
peekAt
Peeks a Variant value located at a specified index.
Variant peekAt(int index)
- index: int - specified index.
- returns: Variant - Variant value.
peek
Peeks a Variant value.
Variant peek()
- returns: Variant - Variant value.