CalculationStack

Implements a stack of Variant values.

Description

The CalculationStack class allows you to implement a stack of Variant values.

Properties

length

Length

length(): int

  • returns: int - length

Instance methods

pop

Removes and returns the last value from the list.

pop(): Variant

  • returns: Variant - last value from the list.

peek_at

Peeks a Variant value located at a specified index.

peek_at(index: int): Variant

  • index: int - a specified index.
  • returns: Variant - Variant value.

peek

Peeks a Variant value.

peek(): Variant

  • returns: Variant - Variant value.