Function reference

  • Write data to a text file in UTF8 format. If the file already exist it will be replaced.

WriteFile( ‘Filename’ , ‘data’ )

Argument Description
Filename The name of the file to read.
data the data that will be contained in the file

Data type: String
Returns ‘True’ or ‘False’

Example 1
WriteFile( ‘f:\myfolder\myfile.txt’ , ‘hello’ )

Last modified: 19 September 2025