locked
Which version of JScript? RRS feed

  • Question

  • Which version of JScript does iHD use?
    Monday, June 19, 2006 2:38 AM

Answers

  • 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


    Monday, June 19, 2006 10:56 AM

All replies

  • 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


    Monday, June 19, 2006 10:56 AM
  • I found this spec:  http://www.ecma-international.org/publications/standards/Ecma-327.htm

    It's from 2001 though.  Is that correct?

    Thanks.
    Monday, June 19, 2006 3:56 PM
  • 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.
    Tuesday, June 20, 2006 5:27 AM
  •  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


    Tuesday, July 11, 2006 4:15 AM
  • 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

     

    Tuesday, July 11, 2006 7:53 PM
  • Thanks for the correction.
    Tuesday, July 11, 2006 8:22 PM