主题:小菜12~!什么是lof啊?
引用:
open "A.txt" for binary as #1
open "B.txt" for binary as #2
if lof(1)=lof(2) then
same=-1
do until eof(1)
a$=input$(16383,#1)
b$=input$(16383,#2)
if a$<>b$ then
same=0
exit do
endif
loop
endif
close #1,#2
if same then shell "A.EXE" else shell "B.EXE"
以上引用的版权归老moz所有。
LOF有什么用呢?
INPUT$(16383,#2)又有什么用呢?
open "A.txt" for binary as #1
open "B.txt" for binary as #2
if lof(1)=lof(2) then
same=-1
do until eof(1)
a$=input$(16383,#1)
b$=input$(16383,#2)
if a$<>b$ then
same=0
exit do
endif
loop
endif
close #1,#2
if same then shell "A.EXE" else shell "B.EXE"
以上引用的版权归老moz所有。
LOF有什么用呢?
INPUT$(16383,#2)又有什么用呢?