Login
Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • Home
  • Knowledgebase
  • Blog

File Functions

home/Knowledge Base/Technical Support/API/Client API's/VTL/VTL Client Scripts/File Functions/GetEntry

GetEntry

5 views 0 Updated on December 16, 2021 hybrid-solutions

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

  • RemoveFile
  • OpenFile
  • NumberOfLinesInFile

Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  FileWrite

RemoveFile  

About
VertexFX Trader has a closed-loop trading structure with Backoffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2023 hybridsolutions.com. All Rights Reserved.