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

📄 qqexp030.html

📁 包含大量VB常用函数 大概一百几十个左右 每个函数都有比较详细的说明 希望大家喜欢它啦
💻 HTML
字号:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html">
<meta name="Generator" content="千千VB站 VB函数清单">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>千千VB站 VB函数清单</title>
</head>

<body text="#000000" bgcolor="#FFFFFF" link="#2020A0" vlink="#FF0000" alink="#FF0000">

<marquee><b><blink><font color="#000000">设计者选项</font></blink></b></marquee>
<center>
<hr width="100%" szie="4">
</center>
<p>&nbsp;&nbsp;&nbsp; 依照设计者个人喜好而订定的选项。
<p>●Option Base {0|1}<br>
设定所有的VB阵列第一个元素是0或是1,预设值为0。<br>
Dim Tmp(10) As String<br>
MsgBox LBound(Tmp)为0<br>
MsgBox UBound(Tmp)为9<br>
For I = 0 To 9<br>
&nbsp;&nbsp;&nbsp; Tmp(I) = I<br>
Next
<p>(General)<br>
Option Base 1
<p>(Sub)<br>
Dim Tmp(10) As String(br&gt; MsgBox LBound(Tmp)为1<br>
MsgBox UBound(Tmp)为10<br>
For I = 1 To 10<br>
&nbsp;&nbsp;&nbsp; Tmp(I) = I<br>
Next
<p>●Option Compare {Binary|Text|DataBase}<br>
设定所有VB变数是以两位元比较、字符比较或是用数据库比较大小,预设为Text。<br>
两字串A=&quot;A&quot; B=&quot;a&quot;<br>
在预设值为Text下,A=B。
<p>(General)<br>
Option Compare Binary
<p>(Sub)<br>
两字串A=&quot;A&quot; B=&quot;a&quot;<br>
在值为Binary下,A &lt; B(按ASCII码大小比较)。
<p>●Option Explicit<br>
设定所有VB变数必需要有严格的宣告。<br>
(General)<br>
Option Explicit
<p>(Sub)<br>
A = 123 ← A变数没有做宣告,故会产生 Error
<p>(General)<br>
Option Explicit
<p>(Sub)<br>
Dim A As Integer<br>
A = 123 ← A变数有做宣告,故才能正常的执行<br>
&nbsp;<br>
&nbsp;

</body>

</html>

⌨️ 快捷键说明

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