Re: lingo-l excluding duplicates from a list

2004-07-12 Thread Brennan
On 11/7/04 at 19:43, Matt Wells [EMAIL PROTECTED] wrote: repeat with x = aa to ab boldListC.add(x) end repeat Why not check to see if the value is already in the list BEFORE you add it. repeat with x = aa to ab if boldListC.getPos(x) then next repeat end if

Re: lingo-l excluding duplicates from a list

2004-07-12 Thread Carl West
Brennan wrote: On 11/7/04 at 19:43, Matt Wells [EMAIL PROTECTED] wrote: repeat with x = aa to ab boldListC.add(x) end repeat Why not check to see if the value is already in the list BEFORE you add it. repeat with x = aa to ab if boldListC.getPos(x) then next repeat end

lingo-l excluding duplicates from a list

2004-07-11 Thread Matt Wells
Maybe I'm going at this in the wrong direction. Here what I'm trying to accomplish. When a user selects char[20..30] and presses the BOLD button it makes the text in member editable Text bold and saves this to a database (member(aaa).char[20..30].fontstyle = [#bold]). Later the user opens the