Eliminate doubles in a long list field
valetia at mac.com
valetia at mac.com
Sat Jun 28 04:07:01 EDT 2003
Hi Ludovic,
Instead of using a "repeat for each line" loop, you could use the lineOffset
function. For example:
-----------
if lineOffset(l,myLongList) = 0 then
put l&cr after myLongList
end if
-----------
Hope this helps!
Valetia :-)
On 28/6/03 3:57 PM, "Ludovic Thébault" <ludovic.thebault at laposte.net> wrote:
> I've a long list field with double entry
>
> I want to eliminate double.
>
> I use this script :
>
> repeat for each line l in myLongList
> if l is not in myLongListWithoutDouble then
> put l&cr after myLongListWithoutDouble
> end if
> end repeat
>
> But it's long. There is an another solution ? Thanks.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list