Help and Support
 

powered byLive Search

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
Last Review:January 23, 2007
Revision:1.0
On This Page

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.

Back to the top

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 = [
    "00:00:00:00",
    "00:16:43:02",
    "00:34:02:40",
    "00:48:55:12",    
];  
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.

Back to the top

RESOLUTION

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 "File information" 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 (http://support.microsoft.com/kb/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.
File nameFile versionFile sizeDateTimePlatform
Wincepb60-070112-kb930746-armv4i.msiNot Applicable9,867,77613-Jan-200700:38Not Applicable
Wincepb60-070112-kb930746-mipsii.msiNot Applicable9,467,39213-Jan-200700:38Not Applicable
Wincepb60-070112-kb930746-mipsii_fp.msiNot Applicable9,472,51213-Jan-200700:38Not Applicable
Wincepb60-070112-kb930746-mipsiv.msiNot Applicable9,506,30413-Jan-200700:38Not Applicable
Wincepb60-070112-kb930746-mipsiv_fp.msiNot Applicable9,506,81613-Jan-200700:38Not Applicable
Wincepb60-070112-kb930746-sh4.msiNot Applicable9,403,90413-Jan-200700:38Not Applicable
Wincepb60-070112-kb930746-x86.msiNot Applicable8,818,17613-Jan-200700:38Not Applicable
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.
File nameFile sizeDateTimePath
Jscript.lib7,661,63209-Jan-200721:58public\script\oak\lib\armv4i\debug
Vbscript.lib7,009,28409-Jan-200721:58public\script\oak\lib\armv4i\debug
Jscript.lib6,284,83209-Jan-200721:56public\script\oak\lib\armv4i\retail
Vbscript.lib5,975,80809-Jan-200721:56public\script\oak\lib\armv4i\retail
Jscript.lib7,334,91209-Jan-200722:03public\script\oak\lib\mipsii\debug
Vbscript.lib6,725,48009-Jan-200722:03public\script\oak\lib\mipsii\debug
Jscript.lib6,047,08809-Jan-200722:01public\script\oak\lib\mipsii\retail
Vbscript.lib5,760,46009-Jan-200722:01public\script\oak\lib\mipsii\retail
Jscript.lib7,337,04009-Jan-200722:08public\script\oak\lib\mipsii_fp\debug
Vbscript.lib6,722,90209-Jan-200722:08public\script\oak\lib\mipsii_fp\debug
Jscript.lib6,055,36809-Jan-200722:05public\script\oak\lib\mipsii_fp\retail
Vbscript.lib5,761,24209-Jan-200722:05public\script\oak\lib\mipsii_fp\retail
Jscript.lib7,436,47809-Jan-200722:12public\script\oak\lib\mipsiv\debug
Vbscript.lib6,792,24809-Jan-200722:12public\script\oak\lib\mipsiv\debug
Jscript.lib6,078,53809-Jan-200722:10public\script\oak\lib\mipsiv\retail
Vbscript.lib5,789,72609-Jan-200722:10public\script\oak\lib\mipsiv\retail
Jscript.lib7,429,09809-Jan-200722:17public\script\oak\lib\mipsiv_fp\debug
Vbscript.lib6,787,89209-Jan-200722:17public\script\oak\lib\mipsiv_fp\debug
Jscript.lib6,071,48409-Jan-200722:14public\script\oak\lib\mipsiv_fp\retail
Vbscript.lib5,785,82409-Jan-200722:14public\script\oak\lib\mipsiv_fp\retail
Jscript.lib6,643,94409-Jan-200722:21public\script\oak\lib\sh4\debug
Vbscript.lib6,262,79209-Jan-200722:21public\script\oak\lib\sh4\debug
Jscript.lib5,706,95209-Jan-200722:19public\script\oak\lib\sh4\retail
Vbscript.lib5,546,67209-Jan-200722:19public\script\oak\lib\sh4\retail
Jscript.lib6,386,76209-Jan-200722:25public\script\oak\lib\x86\debug
Vbscript.lib6,055,03609-Jan-200722:25public\script\oak\lib\x86\debug
Jscript.lib5,514,36009-Jan-200722:23public\script\oak\lib\x86\retail
Vbscript.lib5,453,02009-Jan-200722:23public\script\oak\lib\x86\retail

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Back to the top

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 (http://support.microsoft.com/kb/824684/) Description of the standard terminology that is used to describe Microsoft software updates

Back to the top


APPLIES TO
Windows Embedded CE 6.0

Back to the top

Keywords: 
kbexpertiseinter kbpubtypekc kbqfe kbfix kbbug KB930746

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.