Topic Path: Symbol Reference > Classes > TIdReply Class > TIdReply Properties > Code Property
TIdReply.Code Property

String representing the numeric code used in a reply.

property Code: string;

Code is a string property that represents the string version of the numeric response code for the reply. Changing the value in code causes the new value to be validated, and can raise an EIdException when the code is invalid. 

Code validation simply returns True (for a valid code) in TIdReply, but is provided for compatibility with descendant classes that implement the method. 

Use NumericCode to access the value in Code as an Integer data type. 

Use Text to assign one or more lines of textual content for the reply.

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