Write File
Function to write a text in the file and in the end of the text DO NOT break line.
Syntax:
Void write(String text);
Write a text in the file
and in the end of the text DO NOT break line.
Params:
String text: A String parameter containing the text that will be written in the text file.
Example:
In this example, we are trying to open the file "OpenFunction.txt" located in the path "C:\". If the file exists the user will write a text in the end of the file.
@OpenFileSuccessfully = SVFile.Open("C:\OpenFunction.txt", true); if(@OpenFileSuccessfully == true ) SVFile.Write("New Text"); else SVApplications.Output("File not exists");
|