Thus did Zack Jones eruct in All's general direction:
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?
Good to see you again, Zack! Put a "#" (pound sign) in front of
the FileHandle1 variable in the line giving you the trouble. The
LINE INPUT statement is one of those file handling statements that
rrequires it, unike the OPEN or CLOSE statements. Therefore your
line should read:
Line Input #FileHandler1, OneLine
Hope I helped, but I'll bet you've figured it out yourself
already. Been using Pascal, have you? If my boss will approve it,
I'm going back to school in January to get my Computer Science
degree, so I'll be doing C. Someone really needs to get these
universities into the '90s and have 'em teach PowerBASIC, VB/Win,
Delphi and PowerBuilder, eh? ;-)
... And smale foweles maken melodye that slepen al the nyght with open eye.
--- PPoint 1.86
---------------
* Origin: Seven Wells On-Line * Nashville, TN (1:116/3000.12)
|