|
Previous Top Next |
Prototype: | (Long pIndex),String |
pIndex | Queue pointer for the record to get. This must be in the range of 1 to Records(Lines) |
Returns | The contents of the Lines.OL for the record being pointed to or an empty string if the pIndex value is out of range. |
This method simply returns the contents of a specified line in the Lines queue.
Example:
ITS ITStringClass
S String(1024)
Code
ITS.AddLine('First line',True)
ITS.AddLine('Second line')
ITS.AddLine('Third line')
S = ITS.GetLine(1) ! S = 'First line'
S = ITS.GetLine(2) ! S = 'Second line'
S = ITS.GetLine(3) ! S = 'Third line'
See also: