Filtering one list out of another

Dick Kriesel dick.kriesel at mail.com
Tue Dec 24 02:17:55 EST 2013


On Dec 23, 2013, at 6:19 PM, Paul Hibbert <paulhibbert at mac.com> wrote:

> …or am I missing something?

Yes, because of the way lineOffset works.  For example, if pListA is "12" and pListB is "2", then lineOffset(2,12) is 1, and an unintended delete occurs.  Avoid that by first setting the wholeMatches to true.  Then lineOffset(2,12) is 0.

-- Dick



More information about the Use-livecode mailing list