Class TStringStack (unit EZStrStk)

Inherits from

TObject

A stack for storing strings

Constructors


constructor Create;

===TStringStack implementation======================================


Functions

function Count : longint;

-Destroy the stack

--------


destructor Destroy;

-Initialise the stack

--------


function IsEmpty : boolean;

-Return the number of strings in the stack

--------


function Pop : string;

-Return true if the stack is empty

--------


procedure Push(const S : string);

-Return the string on the top of the stack after popping it

--------


Properties

Events

Variables

Stack : TStack;



Constructors


constructor Create;

===TStringStack implementation======================================


Functions


function Count : longint;

-Destroy the stack

--------


destructor Destroy;

-Initialise the stack

--------


function IsEmpty : boolean;

-Return the number of strings in the stack

--------


function Pop : string;

-Return true if the stack is empty

--------


procedure Push(const S : string);

-Return the string on the top of the stack after popping it

--------


Properties


Events


Variables


Stack : TStack;