|
Thread: EOF
-
Nov 2nd, 2000, 11:37 AM
#1
I'm using VB 6.0. I'm doing a simple read from a text file. My partial code looks like this:
Line Input #nInvFile, sInvTemp
While Not EOF(nInvFile)
Line Input #nInvFile, sInvTemp
FrmBorwr.CboInvestors.AddItem sInvTemp
Wend
I get an error message saying: !Compile error. Expected array (referring to EOF).
Can someone help me? Thanks in advance.
Madi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|