Anybody here remember Pick Basic? A record had many fields, each field could have many values, and any value could have many sub values.
Like working with a cube where you can reference any point in the cube, and may be of any type. When used properly, the structure was marvelous. When abused, well, how about 30 minute delay in loading a record. Seen both. > On Mar 21, 2018, at 2:19 PM, Lee Hinde via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Please. You mean like an array in almost any other language: > > python: > x = ["fred", 2, {"test":4}] > > javascript: > var x = ["fred", 2, {"test":4}]; > > >> On Mar 21, 2018, at 1:00 PM, Tom Swenson via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> OK, like PHP arrays >> >> On 3/16/18, 8:23 AM, "4D_Tech on behalf of Jeff Grann via 4D_Tech" >> <4d_tech-boun...@lists.4d.com <mailto:4d_tech-boun...@lists.4d.com> on >> behalf of 4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> wrote: >> >> Haven’t worked with them yet, but my understanding is that a collection is >> an ordered list of values of possibly varying types. In 4D arrays, all of >> the values must be the same type. In a 4D collection, you can use mixed >> types as the elements. >> >> Example: >> >> $MyCollection[0]:=“Hello” >> $MyCollection[1]:=5 >> $MyCollection[2]:=$AnObject >> $MyCollection[3]:=$AnArray >> $MyCollection[4]:=True >> >> ---------- >> Jeff Grann >> SuccessWare, Inc. >> ********************************************************************** >> > > ********************************************************************** > 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:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** _________________________________________ Bob McKeever http://www.mswl.com <http://www.mswl.com/> McKeever's Software Wizardry Port Coquitlam, B.C. bobmckee...@mac.com ********************************************************************** 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:4d_tech-unsubscr...@lists.4d.com **********************************************************************