Search the Community
Showing results for tags 'set'.
Some data structures, derived directly from TObject : TSet "A data type that can store values without any particular order and no double ups" (wikipedia) demo code methods Procedure Add(Item: Variant); Procedure Remove(Item: Variant); Function Contains(Item: Variant): Variant; Function Union(Set: TSet): TSet; Function Intersect(Set: TSet): TSet; Function Difference(Set: TSet): TSet; TStack (LIFO) "A collection of elements. Push adds an element to the collection and pop removes the most recent added element. Alternatively called LI