Regular API function

simPopStackItem

Description Removes the top item in the stack, effectively reducing the stack size by one. See also simMoveStackItemToTop and the other stack functions.
C synopsis simInt simPopStackItem(simInt stackHandle,simInt count)
C parameters
stackHandle: a stack handle obtained with simCreateStack.
count: the number of items to pop, or 0 to clear the stack.
C return value
-1 in case of an error, otherwise the new size of the stack.
Lua synopsis -
Lua parameters
-
Lua return values
-

All regular API functions on one page