This is fascinating: http://blog.4d.com/new-type-of-variable-collections/
1. "Arrays" of random data types. 2. Elements are accessed with [] not {}. E.g MyCollection[8] 3. The first element starts at zero. 4. They have an associated method - length. MyCollection.length 5. Appending past the length of the collection results in padding. That is if your collection is currently 5 items long, adding something at position 10 MyCollection[10]:="something" will add intermediate null items. http://doc.4d.com/4Dv16R4/4D/16-R4/C-COLLECTION.301-3342374.en.html http://doc.4d.com/4Dv16R4/4D/16-R4/New-collection.301-3342875.en.html ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************