That is possible. The craziness is that the trailing cr affects the result even if the filtered text does not include the last line of the list. If there is a trailing cr, then the result will end with a cr no matter WHICH lines end up in the filtered text. If there isn't, then the result will NOT contain the trailing cr. That cannot be the desired behavior. Anyway, I have submitted a QCC on it, but it's too low a level for anyone to worry about I suspect.
I had an issue a week or so ago where I thought I had debugged some code that was giving me a blank line every other line in a list. After "fixing it I discovered that instead of separate lines, the script was concatenating the new text to the end of the first line! I have no doubt now that this issue was the cause of it. From now on when using filtered lists it will probably be wise when expecting a single line without a cr to make sure of it by using word 1 to -1 or some such thing. Bob On Feb 20, 2012, at 3:59 PM, Phil Davis wrote: > Seems like a year or so ago there was a big dust-up here when RunRev changed > their definition of a list to more closely conform to... something. Anyway, I > believe the trailing CR is a symptom of that change. > > Phil Davis > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
