• 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/CloseFile

CloseFile

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

Syntax

Public Sub CloseFile()

Description

This function used to close the open file. You can call it to close an open file after you finish using it.

Parameters

No patameter.

Return value

No returned value.

Sample

Public Sub main() ' Open or Create File and write  Data  , finally Close it   Dim fileName  Dim fileMode  fileMode = FILE_APPEND  fileName = "C:VertexWorld.txt"   OpenFile fileName, CInt(fileMode)  FileWrite "Welcome TO VertexFx World"  CloseFile End Sub

See Also

  • FileWrite
  • GetEntry
  • RemoveFile

Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  OpenFile

ClearFile  

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.