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 FileNameFileName = "C:VTLlog.txt"'Sets the path of the file we want to use.ClearFile CSTR(FileName) End Sub
See Also