wsh/ jscript : BUG : array of array, 2D array 
Author Message
 wsh/ jscript : BUG : array of array, 2D array

This is not a bug in JScript.

This is a bug in your script.

Currently, you have only two arrays objects allocated : Array_One and
Array_Two.
But you want 1+n array object, where n is the number of elements of
Array_One (Array_One.length)
because each element of Array_One has to be a new array object.
So you have to build Array_Two object INSIDE the loop, just when you change
Index_One.

I tried to understand your algorithm, but I'll could help you much more if
you send me/the group a sample of the file you are parsing.

Olivier Mengu



Sun, 21 Oct 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Array Filter Function and 2D Array

2. 2D Array to 1D Array

3. Convert 2d array to 1d array

4. 2D arrays in jScript

5. Help converting server-side VBScript array into client-side JScript array

6. convert jscript array to variant array

7. convert JScript Array to Array Variant

8. IE4 Java/JScript bug (getting array elements)

9. Array Bug and Jscript Version

10. passing 2D array

11. dynamic 2d arrays

12. passing 2D array

 

 
Powered by phpBB® Forum Software