I tried to make LiveCode crash fiddling with side-effects using this. So far, I have not been able to. As most of us have come to realize; there are some very smart people in Scotland.
This is a very handy feature. I usually use a functional style (using lots of simple, pure functions) but sometimes I want to maintain mutable data. This is very handy. I can have an array of queues! I am a little embarrassed that I didn't notice when this came out. Dar darzLab > On Jun 6, 2016, at 12:20 PM, Dar Scott <d...@swcp.com> wrote: > > >> On Jun 6, 2016, at 11:06 AM, Mark Waddingham <m...@livecode.com> wrote: >> >> This is because we changed the way that array subscripting operations work >> then they are used as a container (i.e. read/write) so that the 'path' to >> the element is only evaluated once. A side-effect of this was that we were >> able to implement the ability for array elements to be able to passed by-ref >> (to @ parameters) which they previously could not. > > Yay! > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode