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 <[email protected]>
> wrote:
>
> OK, like PHP arrays
>
> On 3/16/18, 8:23 AM, "4D_Tech on behalf of Jeff Grann via 4D_Tech"
> <[email protected] <mailto:[email protected]> on behalf
> of [email protected] <mailto:[email protected]>> 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:[email protected]
**********************************************************************