List of Features: SECTION 5 VBScript Language Reference
37
SECTION 5
VBScript Language Reference
This chapter is a reference for the syntax of Microsoft Visual Basic scripting
language called VBScript. These features are provided by the Windows
Scripting Host, included by default with Windows 2000 and Windows XP.
For a full User Guide, Language reference and details of the latest versions
and support contact Microsoft at http://msdn.microsoft.com
5-1 List of Features:
Category Keyword / Feature
Array handling Array
Dim, Private, Public, ReDim
IsArray
Erase
LBound, UBound
Assignments Set
Comments Comments using ' or Rem
Constants/Literals Empty
Nothing
Null
True, False
Control flow Do…Loop
For…Next
For Each…Next
If…Then…Else
Select Case
While…Wend
With
Conversions Abs
Asc, AscB, AscW
Chr, ChrB, ChrW
CBool, CByte
CCur, Cdate
CDbl, CInt
CLng, CSng, CStr
DataSerial, DateValue
Hex, Oct
Fix, Int
Sgn
TimeSerial, TimeValue
Date / Times Date, Time
DateAdd, DateDiff, DatePart
DateSerial, DateValue
Day, Month, MonthName
Weekday, weekdayName, Year
Hour, Minute, Second
Now
TimeSerial, TimeValue