Access/VBA Library

Peek Method

Returns the element ( Variant ) at top of the stack without removing it. When the stack is empty, the value Empty is returned.

Syntax

stack.Peek()
Parameters
Name Type Description
stack   The name of an object of type stack