The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Pop


Unit: SDL_dstruct
Class: TStringStack
Declaration: function Pop (var Str: string): integer;

The method Pop retrieves the string pushed to the stack at last, copies it into the variable parameter Arr and removes it from the stack.

The function returns the following error codes:

 0 ... everything is OK, the string has been retrieved
-1 ... the stack is empty, the returned variable parameter Str is empty


Last Update: 2025-Mar-31