APPENDIX C – JScript Features
OMRON
Page 154
Revision 2.0
APPENDIX C
JScript Features
This appendix provides a summary of JScript features available for use with the ExecuteJScript and
ExecuteJScriptFile script functions. These features are provided by the Windows Scripting Host,
included by default with Windows 98, Windows ME, Windows 2000 and Windows XP and installed
by Internet Explorer 4.0 and later. For Windows 95 and Windows NT, the Windows Scripting Host is
available as a free download from Microsoft’s Web site.
For details of the latest versions and support contact Microsoft at http://msdn.microsoft.com/scripting
Category
Keyword / Feature
Array Handing
Array
join, length, reverse, sort
Assignments
Assign (=)
Compound Assign (OP=)
Booleans Boolean
Comments /*…*/
or
//
Constants / Literals
NaN
null
true, false
Infinity
undefined
Control flow
break
continue
for
for..in
if…else
return
while
Dates and Time
Date
getDate, getDay, getFullYear, getHours,
getMilliseconds, getMinutes, getMonth, getSeconds,
getTime, getTimezoneOffset, getYear,
getUTCDate, getUTCDay, getUTCFullYear,
getUTCHours, getUTCMilliseconds, getUTCMinutes,
getUTCMonth, getUTCSeconds,
setDate, setFullYear, setHours, setMilliseconds,
setMinutes, setMonth, setSeconds, setTime, setYear,
setUTCDate, setUTCFullYear, setUTCHours,
setUTCmillisecinds, setUTCMinutes, setUTCMonth,
setUTCSeconds,
toGMTString, toLocaleString, toUTCString, parse, UTC
Declarations
function
new
this
var
with
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...