Which version of JScript?

Which version of JScript does iHD use?
[38 byte] By [wmerydith] at [2008-1-28]
# 1

iHD uses ECMA script (compact profile)
ECMAScript is often referred to as JScript or JavaScript, although technically these two languages are both extensions of the ECMA-262 standard. HD DVD uses its own subset of the ECMAScript 3rd Edition Compact Profile (ES-CP). Reference:MSDN


rekhareflection at 2007-9-10 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 2
I found this spec: http://www.ecma-international.org/publications/standards/Ecma-327.htm

It's from 2001 though. Is that correct?

Thanks.

wmerydith at 2007-9-10 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 3
Thats correct.
Please also see "Release Notes for HD DVD Interactivity Jumpstart". This would give you more insight into this issue and would also answer your earlier query " How to play sample?".

Thanks.

rekhareflection at 2007-9-10 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 4
wmerydith wrote:
I found this spec: http://www.ecma-international.org/publications/standards/Ecma-327.htm

It's from 2001 though. Is that correct?

Thanks.

I came back to this thread to find this link and realized I had posted the wrong one. The correct link is: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf

wmerydith at 2007-9-10 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 5

262 is ECMAScript Edition 3

327 is the Compact Profile, which basically restricts the use of with, eval, and the Function constructor

iHD uses 327 with the additional constraints that:

* You must use semicolons (ie, no automatic semicolon insertion)

* The "optional" parts in the Annex of 262 (like octal literals and string.substr) are not implemeneted

PeterTorr-MSFT at 2007-9-10 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 6
Thanks for the correction.
wmerydith at 2007-9-10 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...