| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | What`s Wrong with This? |
Hello Zack! In a message to All Zack Jones wrote: 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 ZJ> compiler compiles it just fine. Try putting a "#" in front of "FileHandle1" and see if it will compile. ZJ> What's wrong with the code I'm attempting to use? ZJ> Thanks in advance to anyone who can help. ZJ> Take Care, Zack Jones ZJ> zack@hom.net ZJ> --- InterMail 2.29g ZJ> SEEN-BY: 270/101 280/1 396/1 3615/50 51 Bob * WCE 2.1G1/2371 * Don't blame me! I just wrote the thing! --- GEcho/32 1.20/Pro ---------------ZJ> * Origin: Zack's Gotta Point (1:3611/18.10) * Origin: Alpine Wildcat! BBS, Alpine, CA * 1.619.445.6028 (1:202/1919) |
|
| 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™.