Re: Binary file read/write
- From: "Larry Serflaten" <serflaten@xxxxxxxxxxxxxx>
- Date: Mon, 7 Jul 2008 14:06:45 -0500
"expvb" <nobody@xxxxxxx> wrote
Here is a better version which most developers use:
Get InputFileNum, , DataBuffer
Do While Not EOF(InputFileNum)
Put OutputFileNum, , DataBuffer
Get InputFileNum, , DataBuffer
Loop
I'd respectfully disagree with your statement. I would
suppose (given the task of copying a file) that most
developers would use the FileCopy statement!
If the task involved modifying some data in the file,
then I would like to think most developers would
dimension the array large enough to hold the file
and grab it all in one go, (Get the entire array) then
do the modification in memory, and finaly write the
new file (Put the entire array) using just one Put
statement.
LFS
.
- References:
- Binary file read/write
- From: Dan
- Re: Binary file read/write
- From: Dave O.
- Re: Binary file read/write
- From: Dan
- Re: Binary file read/write
- From: expvb
- Binary file read/write
- Prev by Date: Re: On Error Resume Next Won't. Actually, It Will. ;-)
- Next by Date: Re: Trapping Browser Shutdown
- Previous by thread: Re: Binary file read/write
- Next by thread: Re: Binary file read/write
- Index(es):
Relevant Pages
|