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 millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond 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