Gentee Programming Language > Documentation > Libraries Download documentation

stack.pop

The method extracts a number from a stack. The stack must be described as a stack of uint or int.

uint stack.popval()

Return value

The number extracted from the stack is returned.


The method extracts a string from a stack. The stack must be described as a stack of str.
 
str stack.pop(
      str   val
)

Parameters

valResult string.

Return value

The function returns the parameter val.


The method deletes the top item from a stack.

uint stack.pop()

Return value

The pointer to the new top item.

See also

    Stack


 Copyright © 2004-2006 Gentee Inc. All rights reserved.