Skip to content

stack

Holds the "stack" datatype

Associated DataTypes

stack

A stack is a last-in, first-out data structure. Items inserted (Pushed) are placed on the 'top' of the queue. Items removed (Popped) are also removed from the 'top'.

Members

int Count

Number of items inserted onto the stack.

bool Push[ѕtring]

True if the item was pushed successfully.

string Pop

False is returned if IsEmpty is true.

bool IsEmpty

True if Count = 0, False otherwise.

string Peek

False is returned if IsEmpty is true.

This TLO is added by MQ2Collections.