⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1811.html

📁 VB技巧问答10000例,是一个教程
💻 HTML
字号:
<html>  <head>    <title>!</title>  </head>  <BODY BACKGROUND="" BGCOLOR="white" TEXT="black" LINK="red" VLINK="#808080" ALINK="">    <center>      <h1>!</h1>    </center><HR><p>Posted by <a href="mailto:yfwu@iname.com">小吴</a> on February 01, 1998 at 06:31:07:<p>In Reply to: <a href="1791.html"><b>What is it?</b></a> posted by WCWNG on January 24, 1998 at 15:47:39:<p>! 在 VB 中有两个意思,<br>首先 ! 代表单精度浮点数,不过我想你不是要问这个。<p>! 若置于变数/属性之后,代表 ! 之前的是一个集合 (collection),之后的是该集合的元素的 key。例如<p>Dim col As New Collection<p>col.Add 5, "a"<p>Debug.Print col!a     '  显示 5<p>另一个例子是你在取用 recordset 的栏位值,例如 <br>rsBooks!Author<p>由于 rsBooks 不是 collection,但是 rsBooks 的 default value 是 Fields 属性,所以上面的例子 VB 会将之解读为<br>rsBooks.Fields!Author<p>Fields 属性是一个 collection,这个 collection 有个元素的 key 是 Author,因此上面的陈述式将传回 Author 栏位的值。<p><br><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 1811--><!--top: 2015--><li><a href="2015.html"><b>Re: !</b></a> wcwng <i>07:12:36 2/19/98</i>(<!--responses: 2015-->0)<ul><!--insert: 2015--></ul><!--end: 2015--></ul><!--end: 1811--><br><HR><p></body></html>

⌨️ 快捷键说明

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