ad1$ = ReadLine$( filein )
<br />
Read2$ = ReadLine$( filein )
<br />
Read3$ = ReadLine$( filein )
<br />
Read4$ = ReadLine$( filein )
<br />

<br />
; Close the file once reading is finished
<br />
CloseFile( filein )
<br />

<br />
Print "Lines of text read from file - mydata.txt "
<br />
Print
<br />
Print Read1
<br />
Print Read2
<br />
Print Read3
<br />
Print Read4
<br />

<br />
WaitKey()
</td>
</tr>
</table>
<br>
<a target=_top href=../index.htm>Index</a><br>
<br>
Click <a href=http://www.blitzbasic