file_read()

 
Reads a file.
Syntax
file_read( path, location, inputdata var )
Returns length of inputdata or -1 on error or file does not exist.
  • path = fully qualified path to the file
  • location = location of the input file - 'data' or 'script'
  • inputdata = string variable containing the data read
User Annotations: file_read