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

Mark Waddingham mark at livecode.com
Thu Sep 9 01:40:59 EDT 2021


On 2021-09-09 00:37, Alex Tweedly via use-livecode wrote:
> On 2021-09-08 01:33, Alex Tweedly via use-livecode wrote:
> 
>>> But
>>>      put [1, 2, 3 ] into tVar2
>>> isn't clear to me. If it was in Python it would be a list - but LC
>>> doesn't have 'lists'.
>>> 
>>> Is it equivalent to
>>>    put true into tVar2[1]
>>>    put true into tVar2[2]
>>>    put true into tVar2[3]    ??
>> 
> and then On 08/09/2021 08:50, Mark Waddingham via use-livecode wrote:
>> Yes.
>> 
> But I'm not sure he meant it :-)

No - 'he' didn't mean that ;)

I failed to look properly at the LHS of the puts in your example :D

   put [1, 2, 3] into tVar2

is equivalent to:

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

Warmest Regards,

Mark.



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




More information about the use-livecode mailing list