LiveCode 10 - what are your thoughts on the new features?

Ralph DiMola rdimola at evergreeninfo.net
Thu Sep 9 11:57:07 EDT 2021


>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]

I hope it's the former.

What about

put ["a","b","c"] into tVar3

Is this that same as

put "a" into tVar3[1]
put "b" into tVar3[2]
put "c" into tVar3[3]

???

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Wieder via use-livecode
Sent: Thursday, September 09, 2021 11:47 AM
To: Mark Waddingham via use-livecode
Cc: Mark Wieder
Subject: Re: LiveCode 10 - what are your thoughts on the new features?

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]

-- 
  Mark Wieder
  ahsoftware at gmail.com

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list