Triggers: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 245: Line 245:


=== Object File ===
=== Object File ===
This object is returned by the file() method and provides access to the requested file. If the file with the specified name does not exist yet, it will be created. After reading or writing, the file should be closed using the method close().
This object is returned by the file() function and provides access to the requested file. If the file with the specified name does not exist yet, it will be created. After reading or writing, the file should be closed using the method close().


==== Methods ====
==== File Methods ====
; readAll()
; readAll()
: Reads all lines of the file, and then closes the file
: Reads all lines of the file, and then closes the file