CloseFile
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 14 September 2020 12:40 PM

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


Back to VTL Client Script Index

(1 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