Syntax
Public Function GetEntry(FileName As String, LineNumber As Long ) As String
Description
This function is used to read text from a file by a given the line number.
Parameters
Key | Description |
FileName | Path and name of a file to be read, value of type String. |
LineNumber | Number of line in a file that needed to read, a value of type Long. |
Return value
Returns string value of line number from the file.
Sample
Public Sub main() Dim fileName fileName = "C:VertexWorld.txt" AlertMessage GetEntry (Cstr(fileName),L) 'L means the line number End Sub
See Also