OMRON
CHAPTER 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/scripting
List of Features:
Array handling
Assignments
Comments
Constants/Literals
Control flow
Conversions
Date / Times
Revision 2.0
Category
Array
Dim, Private, Public, ReDim
IsArray
Erase
LBound, UBound
Set
Comments using ' or Rem
Empty
Nothing
Null
True, False
Do...Loop
For...Next
For Each...Next
If...Then...Else
Select Case
While...Wend
With
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, Time
DateAdd, DateDiff, DatePart
DateSerial, DateValue
Day, Month, MonthName
Weekday, weekdayName, Year
Hour, Minute, Second
CHAPTER 5 – VBScript Language Reference
Keyword / Feature
Page 31
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?
Questions and answers