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
 else
  # it's an actual empty element
 end if
end repeat

--
 Mark Wieder
 ahsoftw...@gmail.com

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

Reply via email to