Hi, I would like to declare a two dimensional array in a class, but I can't do this. I searched but I found nothing to help me.
I have tried : var Execute = { erreur : new Array(), group : function(obj1,obj2) { Execute.erreur[1][1] = "[obj1,obj2]"; } }; answer : Execute.erreur[1] is undefined I have tried : var Execute = { erreur : [], group : function(obj1,obj2) { Execute.erreur[1][1] = "[obj1,obj2]"; } }; answer : Execute.erreur[1] is undefined I have tried :: var Execute = { erreur : [] [], group : function(obj1,obj2) { Execute.erreur[1][1] = "[obj1,obj2]"; } }; answer : Erreur syntaxe -> erreur : [] [], I don't know if I make a mistake or if that is not the good solution. Do you have any idea? Thanks -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.