ConsoleWindow.WriteToFile(String, Variable) Method

Top 

Description

Writes the current contents of the console to a file.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

ConsoleWindow.WriteToFile(

String fileName,


Variable doAppend)

 

 

Arguments

fileName


Description:

The name of the file in which to write the contents.

 

 

doAppend


Description:

Whether or not to append to the contents of the file if it already exists.

Valid Values:

Value

Label

0

false

1

true

 

 

 

 

Syntax

myConsoleWindow1.WriteToFile(myString1, myVariable1);

 

 

See also

ConsoleWindow Object

ConsoleWindow.WriteToFile

ConsoleWindow Guide