Skip to content

file_create()#

Syntax
file_create( path, location, outputdata var )

Returns#

Returns length of outputdata or -1 on error. file_create() will not append to an existing file, but return -1 if the file exists.

Parameters#

Parameter Description
path fully qualified path to the file
location location of the output file - ‘data’ or ‘script’
outputdata string variable containing the data to append