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

Syntax

 Public Sub ClearFile(FileName As String)

This function is used to clear the contents for a given file name.

Parameters

Key Description 
FileName Path and name of the file to be cleared, value of type String.

Return value

No Returned value.

Sample

Public Sub main()

Dim FileName
FileName = "C:\VTLlog.txt"'Sets the path of the file we want to use.

ClearFile CSTR(FileName) 

End Sub

 

See Also


 


Back to VTL Client Script Index

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