Navigation:  thinBasic Modules > FileLine >

FileLine_LineInput

Previous pageReturn to chapter overviewNext page

 

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

 

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com