On 8/9/06 6:36 AM, "Ton Kuypers" <[EMAIL PROTECTED]> wrote:

This will do the same thing.
The idea is to use Rev's array features such that keys are automatically
unique and can be as long as you wish.
This means that you could remove duplicate lines of any length.

get listOfAnything
filter it without empty --just in case
repeat for each line LNN in it
   put 1 into tempArr[LNN]
end repeat
get the keys of tempArr
sort it numeric --in your case for numbers
answer it


Jim Ault
Las Vegas

On 8/9/06 6:36 AM, "Ton Kuypers" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I have a list like:
> 1
> 1
> 1
> 2
> 2
> 3
> 4
> 4
> 4
> 
> And I need all double lines removed from this list so it becomes:
> 1
> 2
> 3
> 4


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to