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" <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to