Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > Structures > Classes > TSFCList > Methods

TSFCList.ForEach(TForEachObjectMethod,TForEachFilterMethod,LongInt) Method

Scroll Prev Top Next More

The ForEach method will iterate over the string list calling the Proc object method for every item that passes the FilterFunction (or all items if the FilterFunction is unassigned). The  ForEach method allows regular functions and procedures to be passed instead of methods.


The order that the items are processed is not guaranteed, just that every item will be evaluated. In fact, this method goes through the items in reverse order so that the Proc method could delete items without affecting items not yet visited. This may change.

Namespace: Structures



Type: TForEachObjectMethod


Type: TForEachFilterMethod


Type: LongInt

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb