Internet Direct (Indy)
Home
PreviousUpNext
TIdReply.Code Property

String representing the numeric code used in a reply.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.