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