# Output

The Output object refers to the Output text window located at the bottom of the Scripting form. Use the Output object to clear the contents of this window, add strings to it, save the contents to a file, and load from a file.
Function/Property | Description
Add(Value: String) | Add a new line to the Output window.
Clear | Clear the Output window.
Count: Integer | Get the number of lines in the Output window.
Load(Filename: String) | Replace the contents of the Output window from a text file.
Save(Filename:String) | Save the contents of the Output window to a text file.
Text: String | Returns the contents of the Output window as a text string.
Example: This is just a simple example to add the numbers 1 to 5 in the Output window, save the contents of this window to disk, and reload it. begin Output.Clear; for i := 1 to 5 do begin Output.Add(i); end; Output.Save('C:\TEST1.TXT'); Output.Clear; Output.Load('C:\TEST1.TXT'); end;