DR>
DR> How do I read/write files with multiple EOF's (like ZIPs or EXEs)?
DR> I'm writing an Encryption program, but it stops at the first EOF. I
DR> tried a FOR X = 1 to LOF..... but then I ran into an "Input past end of
DR> file", even when there was more file past the EOF.
Are you opening/closing your files in binary mode?
If you have a routine to compute the size of the file, you can open it in
binary, read the file (I'd poke it into memory if its small enough, perfect
for encryption writing).
Nick.
--- Renegade v5-11 Exp
---------------
* Origin: The Best Lil' Mail Server in Collingwood! :) (1:252/0)
|