Multidimensional array issue

Bob Sneidar bobsneidar at iotecdigital.com
Tue Mar 9 12:24:03 EST 2021


The trouble is, if tDataA [“item”] variable does not exist, that is it is not an array, you will still get empty.

Bob S


On Mar 8, 2021, at 9:16 PM, Phil Davis via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

When I want to determine whether or not an array element contains non-whitespace, I usually say:

    if word 1 of tDataA["item"] is empty then ... (or is NOT empty)

Just another option.

Phil Davis



More information about the use-livecode mailing list