FileInterface.Write(String) Method

Top 

Description

Writes the contents of stringToWrite to the file stream. Returns the number of characters (or bytes if the FileInterface is in binary mode) written to the stream.

 

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(

String stringToWrite)

 

 

Arguments

stringToWrite


Description:

String 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(myString1);

 

 

See also

FileInterface Object

FileInterface.Write

Interfacing with Files Guide

Parsing Arbitrary String Data