Subj : Re: Mulit dimensional arrays To : netscape.public.mozilla.jseng From : Andreas Podgurski Date : Tue Mar 02 2004 06:48 pm >> I am trying to make a 3D transformation matrix SbMatrix available in >> javascript, >> so that I can use it like >> var lMatrix = new SbMatrix(); >> >> lMatrix[0][1] = 12; >> lMatrix[1][1] = 12; >> . >> >> Is there any way to have use JS_GetProperty for that ? > What do you mean by "that", exactly? I think he wants to know, whether he may call JS_GetProperty directly on [0][1] to read the value=12 in C or if it works differently. I would think that calling JS_GetProperty on lMatrix would result in returing a proxy object, referencing to the second dimension, which has to be accessed with another JS_GetProperty on that proxy. Am I wrong with it? I'm looking forward this problem, too, and it would be nice, if someone could comment on this... Thanks in advance, Andreas "SunSailor" Podgurski .