prefix
asked on
Instead of EOF!
Is there an other way to test the end of a file? Is EOF only for ASCII files? I know in C there's an "feof" can test the end of a binary file, what's VB's?
there is an EOF(file-number) function.
EOF(1) True means end of data has been reached in ascii or binary files.
Or.. after opening the file.. you can test the for the length of the file by using the LOF(file number) filenumber. While processing the file you can use the Seek(file number) function to either read the current file position (when used on the right side of an equation)..or to set it to another place (when used on the left side of an equation).
ASKER
Hello:
Is EOF(#filenumber) also be able to test a binary file?
Is EOF(#filenumber) also be able to test a binary file?
ASKER
And run commonly?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks you.
sure,
you could have awarded some points though...
you could have awarded some points though...
Guyss:
Zero points and a "C" grade?.. You really have been had.. LOL.
I agree, a modicum of points would have been nice. Post a question in Customer Service.. to bring their attention to this question.. <smile>.
https://www.experts-exchange.com/Customer_Service/Experts_Exchange/
Zero points and a "C" grade?.. You really have been had.. LOL.
I agree, a modicum of points would have been nice. Post a question in Customer Service.. to bring their attention to this question.. <smile>.
https://www.experts-exchange.com/Customer_Service/Experts_Exchange/
Hello all,
Well.. I'd like to remind the Experts that the grading history is available for everyone.
Last 5 Grade(s) Given:
C B B C A
....And remind prefix that you should try to be fair when you grade your questions. The Experts are here helping YOU. Don't make it hard to get help by not being fair with grades or posting very low point or zero point questions.
darinw
Customer Service
Well.. I'd like to remind the Experts that the grading history is available for everyone.
Last 5 Grade(s) Given:
C B B C A
....And remind prefix that you should try to be fair when you grade your questions. The Experts are here helping YOU. Don't make it hard to get help by not being fair with grades or posting very low point or zero point questions.
darinw
Customer Service
ASKER
EveryOne:
This question is my first and the lowest point I posted. I havn't post such questions like this before and didn't know the points will be so few. Hope you won't mind.
This question is my first and the lowest point I posted. I havn't post such questions like this before and didn't know the points will be so few. Hope you won't mind.
no matter, it isn't very important.
i like answering questions...
i like answering questions...