GetEntry
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 27 August 2020 12:32 PM

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

 

Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions