Access/VBA Library

MaxStackSize Property

Sets or returns a Long containing the number of elements the stack can store.

Syntax

stack.MaxStackSize[ = NewStackSize]
Parts
Name Type Description
stack   The name of an object of type stack
NewStackSize Long Optional.

Remarks

  • When assigning a negative value to MaxStackSize, an "Invalid operation" error will raise.