Re: Array assignment / initialization [was Re: synonyms]

2017-06-29 Thread Mark Wieder via use-livecode
On 06/28/2017 03:32 PM, Alex Tweedly via use-livecode wrote: Yes, it would be nice if we had an easier (terser) way to assign to an array. Maybe something like Python / Perl use to assign to a dictionary. ...and ruby. Let's not forget ruby. Ruby allows for DoSomething name: "my chart",

Re: Array assignment / initialization [was Re: synonyms]

2017-06-29 Thread Alex Tweedly via use-livecode
On 28/06/2017 23:32, Alex Tweedly via use-livecode wrote: Yes, it would be nice if we had an easier (terser) way to assign to an array. Maybe something like Python / Perl use to assign to a dictionary. put { "name": "my chart", "width": 100, "label": "This is a chart", "anarray": sAMine }