[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Read/Write operation the text file with the specified encoding. [Property] +Path=Sets the file to operate. ARG(string)|2| Encoding=Sets the encoding applied to the contents of the file. ARG(Encoding)|20|(empty)|Encoding [Methods] doReadAllText=Opens a text file, reads all lines of the file, and then closes the file. ARG(string path)|1|0 *doReadAllText2=Opens a file, reads all lines of the file with the specified encoding, and then closes the file. ARG(string path, Encoding encoding)|1|0 doWriteAllText=Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten. ARG(string path, string contents)|1|0 *doWriteAllText2=Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten. ARG(string path, string contents, Encoding encoding)|1|0 onReadAllText=Occurs after succesful a read operation and returns the result. ARG(string)|2|2 onError=If an error occurs, an error message appears. ARG(string)|2|2 Text=Returns a string containing all lines of the file. ARG(string)|3|2 Path=Defines the file to operate. ARG(string)|4|2 Contents=Defines the string to write to the file. ARG(string)|4|2 Encoding=Defines the character encoding to use. ARG(Encoding)|4|0