FileInterface.Peek() Method

Top 

Description

Reads and returns the next character on the stream without extracting it from 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.Peek(

)

 

 

Return Value

Type:

string

 

 

Returns the character extracted from the stream. If the end of the file is encountered, "EOF" is returned.

 

Syntax

myString1 = myFileInterface1.Peek();

 

 

See also

FileInterface Object

Interfacing with Files Guide

Parsing Arbitrary String Data