Multidimensional array issue
Mark Wieder
ahsoftware at sonic.net
Mon Mar 8 19:54:05 EST 2021
On 3/8/21 4:25 PM, HENRY LOWE via use-livecode wrote:
> My code is trying to do the following:
No, I *do* see what you're trying to do.
Here... try it for yourself:
on mouseUp pMouseBtnNo
local tArray
put "hello" into tArray["status"]
put tArray["status"] is an array into msg # false
breakpoint
put tArray["status"]["text"] is an array into msg # false
breakpoint
put "goodbye" into tArray["status"]["text"]
put tArray["status"] is an array into msg # true
breakpoint
put tArray["status"]["text"] is an array into msg # false
breakpoint
end mouseUp
...or Ralph's version will also do the trick.
--
Mark Wieder
ahsoftware at gmail.com
More information about the use-livecode
mailing list