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....



Class TStringStack


The class TStringStack provides a stack structure of strings. The strings on the stack can be retrieved not only by the classical push/pop mechanism but can also be accessed via their values and the respective stack addresses.

The property MaxSize determines the maximum length of the stack. If you put more than MaxSize strings on the stack, the Push method will be ignored. The last string can removed from the stack by the Pop method. You can find a particular string on the stack using the method FindString. This returns the stack index which can then be used to retrieve this string by using the method CloneString.


Last Update: 2023-Jul-07