Thank you to everyone for help in resolving this issue. The syntax for determining if tArray[“status”] contains data or an array appears to be either:
If the value of tArray[“status”] is not empty // contains data or If tArray[“status”] is not an array // contains data If I remember correctly, LC arrays are implemented as associative arrays (key, value pairs). I assume that they are implemented as hash tables as opposed to trees? Henry > On Mar 10, 2021, at 9:06 AM, Bob Sneidar via use-livecode > <[email protected]> wrote: > > What he said. :-) > > Bob S > > > On Mar 9, 2021, at 10:19 AM, Ralph DiMola via use-livecode > <[email protected]<mailto:[email protected]>> wrote: > > If (not(tArray[“status”] is an array)) and (tArray[“status”] is not empty) > then -- ***tArray[“status”] is not an array and is not empty. > As MW said empty is technically a value. > > _______________________________________________ > 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
