TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ZACK JONES
from: STEVE LEGG
date: 1995-10-19 22:30:00
subject: What`s Wrong with This?

ZJ>Howdy All!
Howdy Zack!  (I've wanted to do that forever :))
ZJ>I'm just getting back into Basic programming and I've run into a problem.
ZJ>Take a look at this code:
ZJ>dim OneLine as string
ZJ>dim FileHandle1 as Integer
ZJ>FileHandle1 = FreeFile
ZJ>Open "FD.LOG" for input as FileHandle1
ZJ>While not(EOF(FileHandle1))
ZJ>    Line Input FileHandle1, OneLine
ZJ>    'Line Input #1, OneLine
ZJ>Wend
ZJ>What's wrong with the code I'm attempting to use?
Try this:    Line Input #FileHandle1, OneLine
ZJ>Thanks in advance to anyone who can help.
You're welcome.
-=        Steve Legg        -=-      RelayNet ->CRS     =-
-=  Oshawa, Ontario CANADA  -=-  steve.legg@canrem.com  =-
---
 * OLXWin 1.00a * hAS ANYONE SEEN MY cAPSLOCK KEY?
--- QScan/PCB v1.17b / 01-0348
---------------
* Origin: FidoNet: CRS Online, Toronto, Ontario (1:229/15)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.