ReadLineData [Single]


Function

 

Read one line of floating-point data from the file.

 

Format

 

Ret = dncReadFile1.ReadLineData(Data)

 

Parameters

 

Data [ C#: float[] ]  [ VB.NET: Single() ]  

Specify the data for one line to read from the file as a floating-point number in a one-dimensional array.

The maximum number of columns that can be read is 100.

 

Return value

 

Ret [ C#: int ] [ VB.NET: Integer ]

 

Value

Description

0

Normality completion

520001

Failed to input / output the file. Check the file path and file name.

Other errors (see: Error code details)

 

Remarks

 

Read one line of floating-point data from the file.

 

Example

 

Read one line of floating-point data from the file.

C#

int Ret
float[] Data = new float[3];

Data[0] = 0.0;
Data[1] = 0.0;
Data[2] = 0.0;

Ret = dncReadFile1.ReadLineData(Data);

 

VB.NET

Dim Ret As Integer
Dim Data(2) As Single

Data(0) = 0.0;
Data(1) = 0.0;
Data(2) = 0.0;

Ret = dncReadFile1.ReadLineData(Data)