8519.html

来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 23 行

HTML
23
字号
<html>
  <head>
    <title>Re: 请问有关BINARY FILE 的读写.....</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>Re: 请问有关BINARY FILE 的读写.....</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by Knight on December 22, 1998 at 16:15:08:<p>
In Reply to: <a href="8517.html">请问有关BINARY FILE 的读写.....</a> posted by 阿松 on December 22, 1998 at 15:21:12:<p>
: type P<br>: pasw as string<br>: end type<p>: dim buff as P<p>: open "user.bin"for binary access write as #1<p>: <br>: buff.passw="test"<br>: put #1,,buff<p>: buff.passw="asdfggh"<br>: put #1,,buff<p>: close #1<p>: 为何写入的档案我还是能用小作家读出  test   asdfggh   WHY??<br>Binary 是写入的方法<br>用output 和 Binary 在内容上是一样的<br>只有方法不同<br>: 还有why    EOF(#1) 永远不是TRUE?????<br>Use EOF(1)<br>: open "user.bin"for binary access read as #1<p>: do while not EOF(#1)<br>:   :<br>:   :       <--------无穷回圈... :( why???<br>: loop<p>: <br>: 我是要做check password以及新增PASSWORD 的功能 <p>要做密码要对字串编码
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 8519-->
</ul><!--end: 8519-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?