FileInterface.Write(Variable) Method

Top 

Description

Writes the value of variableToWrite as a floating point number to the file stream. Returns a 1 if the write was successful or a 0 if unsuccessful.

 

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

FileInterface.Write(

Variable variableToWrite)

 

 

Arguments

variableToWrite


Description:

Variable to output to the FileInterface object.

 

 

 

Return Value

Type:

number

 

 

If a variable argument is written, this method returns a 1 if the write was successful or a 0 if unsuccessful. If a string argument is written, this method returns the number of characters written to the file.

 

Syntax

myVariable1 = myFileInterface1.Write(myVariable2);

 

 

See also

FileInterface Object

FileInterface.Write

Interfacing with Files Guide

Parsing Arbitrary String Data