qqexpeof.html

来自「包含大量VB常用函数 大概一百几十个左右 每个函数都有比较详细的说明 希望大家喜」· HTML 代码 · 共 40 行

HTML
40
字号
<html>

<head>
<title>千千VB站 函数方法</title>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>

<body background="picbkgd.gif" tppabs="picbkgd.gif">

<marquee><b><blink>某个文件缓冲内的指标是否到档尾</blink></b></marquee>
<hr>
●我们用VB处理文件时,由与文件都会有个指标来指定读那一笔资料,在循序档内,我们无法指定指标指向那一笔,每读一笔资料,指标自动向下一笔移动,若无法得知已到了最后一笔再读出文件时,会发生很严重的错误。<br>
●适用于VB、VBA。<br>
●用法:传回值 = EOF(文件编号)<br>
<hr>
○VB、VBA:<br>
<dl>
  Private Sub Command1_Click()
  <dd>
    <dl>
      Open &quot;Test.tmp&quot; For Input As #1
      <dd>
        <dl>
          Do
          <dd>Input #1,MyStr
        </dl>
        Loop Until EOF(1)
    </dl>
    Close #1
</dl>
End Sub<br>
<p> 
<hr>
<center><a href="exp.html" tppabs="exp.html">[回主页]</a></center><br>

</body>

</html>

⌨️ 快捷键说明

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