# 请问有关BINARY FILE 的读写.....

Posted by 阿松 on December 22, 1998 at 15:21:12:

type P
pasw as string
end type

dim buff as P

open "user.bin"for binary access write as #1

buff.passw="test"
put #1,,buff

buff.passw="asdfggh"
put #1,,buff

close #1

为何写入的档案我还是能用小作家读出 test asdfggh WHY??

还有why EOF(#1) 永远不是TRUE?????

open "user.bin"for binary access read as #1

do while not EOF(#1)
:
: <--------无穷回圈... :( why???
loop

我是要做check password以及新增PASSWORD 的功能

Follow Ups:

- Re: 请问有关BINARY FILE 的读写..... Knight 16:15:08 12/22/98 (0)