Repeat for each element failing

Bob Sneidar bobsneidar at iotecdigital.com
Fri Aug 10 16:23:04 EDT 2018


Belay that apparently while troubleshooting and modifying code, one of the records in the datagrid had an empty key value. 

Bob S


> On Aug 10, 2018, at 13:20 , Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi all. 
> 
> I have an array of arrays (think dgData) and I am starting a repeat loop like this:
> 
> repeat for each element aSiteRecord in aSiteData
>   ...
> 
> I verified aSiteData is an array of arrays (it's the dgData of my sites datagrid) but when stepping in the debugger it goes right to the next statement after the end of the repeat loop without executing anything inside it. 
> 
> Is it legal to have arrays for the elements, or is it restricted to values?
> 
> Bob S





More information about the use-livecode mailing list