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/FileExists

FileExists

8 views 0 Updated on December 16, 2021 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

DeleteLine  

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
  • Mobile Trader
  • Lite VertexFX Mobile Trader
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
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.