• Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX

File Functions

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

FileExists

27 views 0 Updated on December 27, 2023 hybrid-solutions

Syntax

 Public Function FileExists(FileName As String) As Boolean

Description

This function is used to check if a given file exists or not.

Parameters

Key Description
FileName Path and name of file to be checked if exist or not, value of type String

Return value

Returns true if the file exists, otherwise, returns false.

Sample

sub main()    if FileExists("VtlWorld.txt") then         AlertMessage("File Already exist")    else         AlertMessage("File not found")    End if End Sub 


See Also

  • DeleteLine
  • ClearFile
  • CLoseFile

Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

NumberOfLinesInFile  

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 2024 hybridsolutions.com. All Rights Reserved.