Microsoft KB Archive/930746

= FIX: The JScript code may not perform as expected when you try to use JScript code to define an array in Windows Embedded CE 6.0 =

Article ID: 930746

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Windows Embedded CE 6.0

-



SYMPTOMS
When you try to use Microsoft JScript code to define an array in Microsoft Windows Embedded CE 6.0, the JScript code may not perform as expected.



CAUSE
This problem occurs because the JScript engine in Windows Embedded CE 6.0 handles array declarations in a nonstandard way.

For example, the following block of code does not work as expected. var titleSeg = [ &quot;00:00:00:00&quot;, &quot;00:16:43:02&quot;, &quot;00:34:02:40&quot;, &quot;00:48:55:12&quot;, ]; In this example, the trailing comma that appears before the closing bracket of the array definition causes the JScript engine to produce an additional item in the array. The value of the additional item is set to the undefined value.



Software update information
A supported software update is now available from Microsoft as Windows CE 6.0 Platform Builder Monthly Update (January 2007). You can confirm this by scrolling to the &quot;File information&quot; section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:

Product version-yymmdd-kbnnnnnn-processor type

For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites
This update is supported only if all previously issued updates for this product are also installed.

Restart requirement
After you install this update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart the computer after you apply this update.

Update replacement information
This update does not replace any other updates.

File information
The English version of this package has the file attributes (or later file attributes) that are listed in the following table.

The English version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbexpertiseinter kbpubtypekc kbqfe kbfix kbbug KB930746

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.