TStack<T>.TryPop(T) Method
Attempts to remove and return the element at the top of the stack.
public
 function TryPop(out item: T): Boolean;
Parameters
- item
- Type: TThe element that was removed if the operation was successful, Default(T) otherwise. 
Return Value
Type:  Boolean
      
True if an element was removed and returned from the top of the stack; otherwise, False.