[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    StackEmpty()

         Determines if stack is empty

    Syntax:

         StackEmpty( aStack ) -> lEmpty

         aStack : The created stack with StackNew()

    Description:

         Returns a logic indicating if stack is empty.

    Return:

         .T. if empty and .F. if it has any element.

    Example:

         aStack := StackNew ()
         StackPush ( aStack, "hello matthew" )
         If StackEmpty ( aStack )
           ...

See Also: StackHead() StackNew() StackPop() StackPush()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson