> $collection := New collection() > $collection[247] := "fred" > > I doubt that it creates 247 (indexes 0-246) empty elements in the collection. > Would love to hear confirmation or denial from some one at 4D that knows the > internals.
Actually, it does create 247 empty elements (null to be exact). Try it and look in the debugger. -Tim ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

