Skip to content
Contact us

WriteFile()

Function reference

  • Write data to a text file in UTF8 format. If the file already exist it will be replaced. WriteFile( ‘Filename’ , ‘data’ )
ArgumentDescription
FilenameThe name of the file to read.
datathe data that will be contained in the file

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

WriteFile( 'f:\myfolder\myfile.txt' , 'hello' )