|
Previous Top Next |
Prototype: | (String pLine, Byte pNew=False) |
pLine | String to add to the Lines queue |
pNew | Indicates if the queue should be cleared. If True, the Lines queue is freed. |
The AddLine method adds a single line of text to the Lines queue property of the class. In version 1.1.2319 and earlier this was limited to 1024 characters. It is now dynamic and only limited by available memory) The text line is stored in the OL field of the queue and the length of the line is stored in the Len field of the queue. See the ITLinesQ for the type declaration of the Lines queue.
Example:
ITS ITStringClass
Code
ITS.AddLine('This is a test',True) !! First line, so free the queue
ITS.AddLine('Second line')
At this point the ITS.Lines will contain two records.
See also: