Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>stackempty()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    StackEmpty()

         Determinates if stack is empty

    Syntax:

         StackEmpty( aStack ) -> lEmpty

         aStack : The created stack with StackNew()

    Description:

         Retuns a logic indicating if stack is empty.

    Return:

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

    Example:

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

See Also: StackHead() StackNew() StackPop() StackPush()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson