Extracts the object instance from the list found at its lowest index position.
function Pull: TIdBaseObject;
TObject - Object extracted from the lowest position in the list.
Pull is a TObject function used to extract the TObject instance from the list found at its highest index position.
Pull calls LockList to enable resource protection for the thread-safe list prior to accessing TObject instances in the list.
Pull assigns the TObject instance at the lowest ordinal position in the list to the return value, and deletes the item from the list. If the list contains 0 (zero) items, the return value for the method is set to Nil.
Pull calls UnlockList to disable resource protection for the thread-safe list prior after accessing TObject instances in the list.
Use Pop to extract an object instance from the highest ordinal position in the list.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.