2 Replies Latest reply on Aug 11, 2008 9:36 AM by Bob, Adobe Engineer

    [JS] (CS3) GLOBAL var. Weird behaviour!

    CTC Imaging Level 1
      I have been working w/ a GLOBAL array defined in "session"

      The array is being populated with WORD objects when running a checks abbreviations script. Each word skipped are added using the push function. You can view and zero out the array, using ANOTHER script. But when you close the document, if you try to view again the array, there is an error "undefined object". Actually the array exist, it has word objects but if you access one of the contents (ie: SkipWRDS[0].contents), you get an error! So it's kind of corrupted. Any idea?

      Thank you, Alex.