LiveCode DataGrid assistance requested

Mark Wieder ahsoftware at
Tue May 4 15:38:14 EDT 2021

On 5/4/21 8:26 AM, Brian K. Duck via use-livecode wrote:

> After adding  “Combine array using return,” I can display it as text in a field, but I only get the rows that aren’t array data on their own. So, most of the data is lost.

The combine and split commands were written in the dark ages before we 
had multidimensional arrays.

I use recursive repeat loops to untangle multidimensional arrays into an 
editable text form (pseudocode):

put the keys of tArray into tKeys
repeat for each line tKey in tKeys
  if tKey is empty then # see if it's an array
   put the keys of tKey into tSubArray
   # recurse to process the array
   # it's an actual empty element
  end if
end repeat

  Mark Wieder
  ahsoftware at

More information about the use-livecode mailing list