Language Reference Guide : B. Dedicated User Classes for .INI File Support : ProfileObject User Class : GetLine Method
 
Share this page          
GetLine Method
The GetLine method returns the next line of the passed StringObject.
This method has the following syntax:
StringObject = ProfileObject.GetLine(LineIn = StringObject, StartPos = integer not null)
The LineIn variable typically contains the IniContent or the contents of a SectionObject (see the GetString Method.
StartPos should be a variable passed Byref; after each GetLine call, StartPos points to the start of the next line in the LineIn StringObject.
The returned StringObject contains the value of the line.