FileLine_LineInput

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > FileLine >

FileLine_LineInput

 

Description

 

Reads a line buffer from the specified file handle.

 

Syntax

 

nCheck = FileLine_LineInput(hFile, aStringVariable)

 

Returns

 

Number.

Returns %FALSE if there was an error or if there is no more data to read.

 

Parameters

 

Name

Type

Optional

Meaning

hFile

Number

No

Handle returned by FileLine_Open function

aStringVariable

Variable

No

A string variable passed BYREF that will receive the buffer read from the file.

 

Remarks

 

hFile file handle must be opened.

 

Blank lines are ignored

 

Restrictions

 

See also

 

Examples