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>As written this won't compile. When I try to compile it I get a compiler
ZJ>error 425 "String variable Expected". If I comment the line "Line Input
ZJ>FileHandle1, OneLine" and use the line that's currently commented the
compil
ZJ>compiles it just fine.
Zack I put # in front of FileHandle1, OneLine and it worked. I think the
error relates to that. ---
* SLMR 2.1a *
--- InterEcho 1.11
---------------
* Origin: The DataStream (Node 1), Peoria, IL (1:232/30)
|