Visual Basic Scripting Edition |
语言参考 |
版本信息
下表列举了宿主应用程序所执行的 Visual Basic Scripting 版本信息。
宿主应用程序 |
1.0 |
2.0 |
3.0 |
4.0 |
5.0 |
Microsoft Internet Explorer 3.0 |
x |
|
|
|
|
Microsoft Internet Information Server 3.0 |
|
x |
|
|
|
Microsoft Internet Explorer 4.0 |
|
|
x |
|
|
Microsoft Internet Information Server 4.0 |
|
|
x |
|
|
Microsoft Windows Scripting Host 1.0 |
|
|
x |
|
|
Microsoft Outlook 98 |
|
|
x |
|
|
Microsoft Visual Studio 6.0 |
|
|
|
x |
|
Microsoft Internet Explorer 5.0 |
|
|
|
|
x |
Microsoft Internet Information Services 5.0 |
|
|
|
|
x |
下表列举了 VBScript 语言特征首次引用时的版本信息。
语言元素 |
1.0 |
2.0 |
3.0 |
4.0 |
5.0 |
Abs 函数 |
x |
|
|
|
|
Addition 运算符 (+) |
x |
|
|
|
|
And 运算符 |
x |
|
|
|
|
Array 函数 |
|
x |
|
|
|
Asc 函数 |
x |
|
|
|
|
Assignment 运算符 (=) |
x |
|
|
|
|
Atn 函数 |
x |
|
|
|
|
Call 语句 |
x |
|
|
|
|
CBool 函数 |
x |
|
|
|
|
CByte 函数 |
x |
|
|
|
|
CCur 函数 |
x |
|
|
|
|
CDate 函数 |
x |
|
|
|
|
CDbl 函数 |
x |
|
|
|
|
Chr 函数 |
x |
|
|
|
|
CInt 函数 |
x |
|
|
|
|
Class 对象 |
|
|
|
|
x |
Class 语句 |
|
|
|
|
x |
Clear 方法 |
x |
|
|
|
|
CLng 函数 |
x |
|
|
|
|
Color 常量 |
|
x |
|
|
|
Comparison 常量 |
|
x |
|
|
|
Concatenation 运算符 (&) |
x |
|
|
|
|
Const 语句 |
|
x |
|
|
|
Cos 函数 |
x |
|
|
|
|
Createobject 函数 |
|
x |
|
|
|
CSng 函数 |
x |
|
|
|
|
CStr 函数 |
x |
|
|
|
|
Date 和 Time 常量 |
|
x |
|
|
|
Date Format 常量 |
|
x |
|
|
|
Date 函数 |
x |
|
|
|
|
DateAdd 函数 |
|
x |
|
|
|
DateDiff 函数 |
|
x |
|
|
|
DatePart 函数 |
|
x |
|
|
|
DateSerial 函数 |
x |
|
|
|
|
DateValue 函数 |
x |
|
|
|
|
Day 函数 |
x |
|
|
|
|
Description 属性 |
x |
|
|
|
|
Dim 语句 |
x |
|
|
|
|
Division 运算符 (/) |
x |
|
|
|
|
Do...Loop 语句 |
x |
|
|
|
|
Empty |
x |
|
|
|
|
Eqv 运算符 |
x |
|
|
|
|
Erase 语句 |
x |
|
|
|
|
Err 对象 |
x |
|
|
|
|
Eval 函数 |
|
|
|
|
x |
Execute 方法 |
|
|
|
|
x |
Execute 语句 |
|
|
|
|
x |
ExecuteGlobal 语句 |
|
|
|
|
x |
Exit 语句 |
x |
|
|
|
|
Exp 函数 |
x |
|
|
|
|
Exponentiation 运算符 (^) |
x |
|
|
|
|
False |
x |
|
|
|
|
Filter 函数 |
|
x |
|
|
|
FirstIndex 属性 |
|
|
|
|
x |
Fix 函数 |
x |
|
|
|
|
For...Next 语句 |
x |
|
|
|
|
For Each...Next 语句 |
|
x |
|
|
|
FormatCurrency 函数 |
|
x |
|
|
|
FormatDateTime 函数 |
|
x |
|
|
|
FormatNumber 函数 |
|
x |
|
|
|
FormatPercent 函数 |
|
x |
|
|
|
Function 语句 |
x |
|
|
|
|
GetLocale 函数 |
|
|
|
|
x |
Getobject 函数 |
|
x |
|
|
|
GetRef 函数 |
|
|
|
|
x |
Global 属性 |
|
|
|
|
x |
Hex 函数 |
x |
|
|
|
|
HelpContext 属性 |
|
x |
|
|
|
HelpFile 属性 |
|
x |
|
|
|
Hour 函数 |
x |
|
|
|
|
If...Then...Else 语句 |
x |
|
|
|
|
IgnoreCase 属性 |
|
|
|
|
x |
Imp 运算符 |
x |
|
|
|
|
Initialize 事件 |
|
|
|
|
x |
InputBox 函数 |
x |
|
|
|
|
InStr 函数 |
x |
|
|
|
|
InStrRev 函数 |
|
x |
|
|
|
Int 函数 |
x |
|
|
|
|
Integer Division 运算符 (\) |
x |
|
|
|
|
Is 运算符 |
x |
|
|
|
|
IsArray 函数 |
x |
|
|
|
|
IsDate 函数 |
x |
|
|
|
|
IsEmpty 函数 |
x |
|
|
|
|
IsNull 函数 |
x |
|
|
|
|
IsNumeric 函数 |
x |
|
|
|
|
Isobject 函数 |
x |
|
|
|
|
Join 函数 |
|
x |
|
|
|
LBound 函数 |
x |
|
|
|
|
LCase 函数 |
x |
|
|
|
|
Left 函数 |
x |
|
|
|
|
Len 函数 |
x |
|
|
|
|
Length 属性 |
|
|
|
|
x |
LoadPicture 函数 |
|
x |
|
|
|
Log 函数 |
x |
|
|
|
|
LTrim 函数 |
x |
|
|
|
|
Match 对象 |
|
|
|
|
x |
Matches 集合 |
|
|
|
|
x |
Mid 函数 |
x |
|
|
|
|
Minute 函数 |
x |
|
|
|
|
Miscellaneous 常量 |
|
x |
|
|
|
Mod 运算符 |
x |
|
|
|
|
Month 函数 |
x |
|
|
|
|
MonthName 函数 |
|
x |
|
|
|
MsgBox 常量 |
|
x |
|
|
|
MsgBox 函数 |
x |
|
|
|
|
Multiplication 运算符 (*) |
x |
|
|
|
|
Negation 运算符 (-) |
x |
|
|
|
|
Not 运算符 |
x |
|
|
|
|
Now 函数 |
x |
|
|
|
|
Nothing |
x |
|
|
|
|
Null |
x |
|
|
|
|
Number 属性 |
x |
|
|
|
|
Oct 函数 |
x |
|
|
|
|
On Error 语句 |
x |
|
|
|
|
Option Explicit 语句 |
x |
|
|
|
|
Or 运算符 |
x |
|
|
|
|
Pattern 属性 |
|
|
|
|
x |
Private 语句 |
|
x |
|
|
|
PropertyGet 语句 |
|
|
|
|
x |
PropertyLet 语句 |
|
|
|
|
x |
propertySet 语句 |
|
|
|
|
x |
Public 语句 |
|
x |
|
|
|
Raise 方法 |
x |
|
|
|
|
Randomize 语句 |
x |
|
|
|
|
ReDim 语句 |
x |
|
|
|
|
RegExp 对象 |
|
|
|
|
x |
Rem 语句 |
x |
|
|
|
|
Replace 函数 |
|
x |
|
|
|
Replace 方法 |
|
|
|
|
x |
RGB 函数 |
|
x |
|
|
|
Right 函数 |
x |
|
|
|
|
Rnd 函数 |
x |
|
|
|
|
Round 函数 |
|
x |
|
|
|
RTrim 函数 |
x |
|
|
|
|
ScriptEngine 函数 |
|
x |
|
|
|
ScriptEngineBuildVersion 函数 |
|
x |
|
|
|
ScriptEngineMajorVersion 函数 |
|
x |
|
|
|
ScriptEngineMinorVersion 函数 |
|
x |
|
|
|
Second 函数 |
x |
|
|
|
|
Select Case 语句 |
x |
|
|
|
|
Set 语句 |
x |
|
|
|
|
SetLocale 函数 |
|
|
|
|
x |
Sgn 函数 |
x |
|
|
|
|
Sin 函数 |
x |
|
|
|
|
Source 属性 |
x |
|
|
|
|
Space 函数 |
x |
|
|
|
|
Split 函数 |
|
x |
|
|
|
Sqr 函数 |
x |
|
|
|
|
StrComp 函数 |
x |
|
|
|
|
String 常量 |
|
x |
|
|
|
String 函数 |
x |
|
|
|
|
StrReverse 函数 |
|
x |
|
|
|
Sub 语句 |
x |
|
|
|
|
Subtraction 运算符 (-) |
x |
|
|
|
|
Tan 函数 |
x |
|
|
|
|
Terminate 事件 |
|
|
|
|
x |
Test 方法 |
|
|
|
|
x |
Time 函数 |
x |
|
|
|
|
Timer 函数 |
|
|
|
|
x |
TimeSerial 函数 |
x |
|
|
|
|
TimeValue 函数 |
x |
|
|
|
|
Trim 函数 |
x |
|
|
|
|
Tristate 常量 |
|
x |
|
|
|
True |
x |
|
|
|
|
TypeName 函数 |
|
x |
|
|
|
UBound 函数 |
x |
|
|
|
|
UCase 函数 |
x |
|
|
|
|
Value 属性 |
|
|
|
|
x |
VarType 常量 |
|
x |
|
|
|
VarType 函数 |
x |
|
|
|
|
VBScript 常量 |
|
x |
|
|
|
Weekday 函数 |
x |
|
|
|
|
WeekdayName 函数 |
|
x |
|
|
|
While...Wend 语句 |
x |
|
|
|
|
With 语句 |
|
|
|
|
x |
Xor 运算符 |
x |
|
|
|
|
Year 函数 |
x |
|
|
|
|
|