Here's another piece of good news:
Mark Waddingham and I spent a couple of hours yesterday morning adding
support for literal arrays to the LiveCode Builder Language. In
LiveCode 8.0.0 DP 13, you will be able to write:
variable tArray as Array
put {"cats": 5, "dogs": 23} into tArray
Or:
constant kColours is { "dirty purple": [80, 24, 60], \
"blue: [0, 0, 255] }
Hopefully this should make working with arrays both easier and less verbose.
Peter
P.S. There's currently a limit of 127 key-value pairs in an array literal.
--
Dr Peter Brett <peter.br...@livecode.com>
LiveCode Open Source Team
_______________________________________________
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