OMRON
CHAPTER 5 – VBScript Language Reference
Revision 2.0
Page 31
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:
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
Summary of Contents for CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Page 2: ...CX Supervisor Script Language Software Revision 2 0...
Page 3: ......
Page 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Page 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Page 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Page 13: ......
Page 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Page 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Page 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Page 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...