ShadowCaster » 04.06.2003 (Ср) 22:01
Используй следующее:
Sub CopyF(f1, f2)
dim b as byte ' Ты на верное забыл объявить его байтом
open f1 for binary as #1
open f2 for binary as #2
do until lof(1)+1<=seek(1)
get #1,,b
put #2,,b
loop
close #1, #2
end sub
или:
Sub CopyF2(f1, f2)
dim s as string
open f1 for binary as #1
s = space(lof(1))
get #1,,s
close #1
open f2 for binary as #1
put #1,,s
close #1
end sub