Skip to content

file_overwrite()#

Syntax
file_overwrite( path, location, data var )

Returns#

Returns the length of data written or -1 on error

Parameters#

Parameter Description
path fully qualified path to the file
location ‘data’ or ‘script’
data string variable containing the data to write