On 2021-09-09 16:47, Mark Wieder via use-livecode wrote:
On 9/8/21 10:40 PM, Mark Waddingham via use-livecode wrote:

   put [1, 2, 3] into tVar2

is equivalent to:

   put 1 into tVar2[1]
   put 2 into tVar2[2]
   put 3 into tVar2[3]

That's still ambiguous, though. Is

put [4, 5, 6] into tVar2

equivalent to

    put 4 into tVar2[1]
    put 5 into tVar2[2]
    put 6 into tVar2[3]

or

    put 4 into tVar2[4]
    put 5 into tVar2[5]
    put 6 into tVar2[6]

The former.

[ V1, ..., VN ] denotes a sequence which is an array mapping the key i to Vi.

{ "K1": V1, ..., "KN": VN } denotes a dictionary which is an array mapping Ki to Vi.

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
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

Reply via email to