I know this does not attend to the question, but my feelings are like this: if one has control, go back and use arrays from the start.
Now, to your comments on robustness in parsing the files. I suppose any whitespace at the start of a line could be considered a child. Also, it is an error if the first line is a child. > On Aug 5, 2019, at 3:59 PM, dunbarxx via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Hmmm. I had mentioned earlier: > > "You cannot just find matching lines between the two lists, because some > children > AND some parents may be present in both... > > The discussion has focused on array lore, and that is fine, but are we all > in agreement that the main task is to isolate the parents, regardless of > whether the names of those parents might be duplicated? I mention this > because everything depends on the reliability of those spaces. The parsing > of parent "groups", in one way or another, is essential. > > Craig > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > 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 _______________________________________________ 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