Skip to main content
Participant
November 19, 2008
Question

Collection Numbers

  • November 19, 2008
  • 1 reply
  • 295 views
The Adobes Introduction to Scripting states that JavaScript collection numbers are static. Im finding that this is not the case. Zero is the last item added to the collection; new items cause the index to be incremented on all existing elements.

Is there something I'm not getting?

Thanks

OS X , 10.4.11
AI CS3 (13.0.0)
This topic has been closed for replies.

1 reply

Inspiring
November 20, 2008
ids are static. Indexes into a collection are not.

Dave

PS: at least, this is the case for InDesign -- I didn't realize which forum I was in when I posted.