Topic Path: Pending > TIdReplies.Find@string
ContentsIndexHome
PreviousUpNext
TIdReplies.Find@string

Locates a reply in the collection having the specified numeric code.

Parameters 
Description 
ACode 
String representation of the numeric code to locate. 

TIdReply - An existing reply with the value requested, or Nil when not found.

Find is a TIdReply function used to locate a collection item with the value in ACode in the Code property. 

Find iterates over the TIdReply instances in Items to compare ACode with the property values. 

The return value for the method is Nil when a collection item cannot be located having the specified value. 

Find is used in Add and UpdateText to locate an existing collection item with the specified numeric value.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.