The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com __________________________________________________________________
Thanks, that was the problem I had ASCaseCV[1,2] instead of ASCaseCV[1][2]. I was so busy working with the array, I didn't think about checking the code. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Plante Sent: Monday, November 17, 2003 8:30 AM To: [EMAIL PROTECTED] Subject: Re: [PDF] Two Dimensional Array The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com __________________________________________________________________ Nope, you've got the structure right. Are you reading the desired element correctly? That is, ASCaseCV[1][2].value? (Heads up! 3559 is paired with two different responses: 411HO60122 in one case, and 411HO60133 later on.) Jim Plante <[EMAIL PROTECTED]> On Nov 16, 2003, at 6:05 PM, Jim's e-mail wrote: > > The PDF list is a service provided by PDFzone.com | > http://www.pdfzone.com > __________________________________________________________________ > > Can someone give me a quick example of a two-dimensional array in > JavaScript > for Acrobat (or don't they work?). Here is how I thought it would work. > > ASCaseCV = new Array > ( > ["3571", "app.alert('411H60104')"], > ["3571", "app.alert('411H60110')"], > ["3559", "app.alert('411H60122')"], > ["3571", "app.alert('411H60105')"], > ["3571", "app.alert('411H60111')"], > ["2971", "app.alert('411H60111')"], > ["3559", "app.alert('411H60133')"], > ["2971", "app.alert('411H60116')"], > ["5965", "app.alert('411H60316')"], > ["", ""] > ) > > This works just fine when I split it into two separate one-dimensional > arrays. > > > To change your subscription: > http://www.pdfzone.com/discussions/lists-pdf.html > To change your subscription: http://www.pdfzone.com/discussions/lists-pdf.html To change your subscription: http://www.pdfzone.com/discussions/lists-pdf.html
