Internet Direct (Indy)
Home
PreviousUpNext
TIdMaxLineAction Enumeration

Action to take when the line length exceeds the maximum length in an Indy IOHandler.

Pascal
TIdMaxLineAction = (
  maException,
  maSplit
);

TIdMaxLineAction is an enumerated type used to represent the action to perform when the maximum line length is exceeded while reading lines of data using an Indy IOHandler. 

TIdMaxLineAction indicates the action to be performed when the InputBuffer in the IOHandler contains a line that exceeds the value assigned to MaxLineLength property. TIdMaxLineAction has the following values and meanings: 

 

Value 
Meaning 
maSplit 
The lengthy line is split into one or more lines when the conditions occurs. 
maException 
An EIdReadLnMaxLineLengthExceeded exception is raised for the condition. 

 

MaxLineAction has significance only when MaxLineLength contains a non-zero value.

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.