Thanks, I’ll check it on later versions. This is a pretty important issue to 
me, so I’ll try to make sure I don’t rely on the test[“data”] empty property.
Thanks,
Bill

On Jul 1, 2014, at 1:11 PM, J. Landman Gay <[email protected]> wrote:

> On 7/1/2014, 3:03 PM, Peter Haworth wrote:
>> Livecode always returns true if you test an array for empty, although I
>> think that behavior might have changed in a recent release.
> 
> Right. In 6.6.2, this returns "not empty":
> 
>   put "XX" into test["data"]["a1"]
>   if test["data"] is empty then
>      answer "It is empty"
>   else
>      answer "Not empty"
>   end if
> 
> 
> -- 
> Jacqueline Landman Gay         |     [email protected]
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Reply via email to