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

 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)

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™.