5548.html

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

HTML
27
字号
<html>
  <head>
    <title>Re: 如何在执行阶段得到错误发生时的程式码的行数?及如何获得完整的err.number?</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>Re: 如何在执行阶段得到错误发生时的程式码的行数?及如何获得完整的err.number?</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:dbms@bigfoot.com">David Wong</a> on September 11, 1998 at 13:23:18:<p>
In Reply to: <a href="5499.html">如何在执行阶段得到错误发生时的程式码的行数?及如何获得完整的err.number?</a> posted by posin on September 10, 1998 at 17:06:56:<p>
用 on error ,之后将错误信息写入一个 log file 就可以了。<p>: 当程式发生错误时,怎样才能获得当时的程式码行数及sub(or function)的name,谢谢<p>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 5548-->
<!--top: 5641--><li><a href="5641.html">Re: 如何在执行阶段得到错误发生时的程式码的行数?及如何获得完整的err.number?</a> <b>posin</b> <i>09:20:13 9/15/98</i>
(<!--responses: 5641-->0)
<ul><!--insert: 5641-->
</ul><!--end: 5641-->
</ul><!--end: 5548-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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