www.icetips.com  Icetips Utilities Documentation 7/6/2014    

String Class:  AddLine

Previous  Top  Next  


Prototype: (String pLine, Byte pNew=False)

 

pLineString to add to the Lines queue
pNewIndicates 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:

Lines

WriteQToFile

AppendToLine

SetLineValue

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/addline_stringclass.htm