2 Replies Latest reply on Jan 7, 2015 6:42 AM by Stamm

    Multidimensional Array in Indesign?

    Stamm Level 1

      Hey guys,

       

      normally in javascript I can just create a multidimensional array like so:

       

      myArray = [ [] ];

       

      and then assign values like this:

       

      myArray[0][0] = 'item1';

       

      In extendscript I get the error "undefined is not an object". Is there something I forgot about, or is this just not possible in Indesign?