comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » UNIQ without SORT
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
UNIQ without SORT [message #34101] Mon, 17 February 2003 21:51
Thomas Gutzler is currently offline  Thomas Gutzler
Messages: 44
Registered: November 2002
Member
Hi,

what would be the fastest way to change this:
[[1,1], [2,3], [1,2], [1,1], [2,1], [3,2]]

into this:
[[1,1], [2,3], [1,2], [2,1], [3,2]] ?

I don't mean: array = array[*,[0, 1, 2, 4, 5]] which would be fast, but
not very dynamic :)
It should delete every coordinate-tuple appearing more than once without
changing the order of the other elements.

Thx for racking brains,
Tom
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Test if variable is a string
Next Topic: Re: Best way to reset the session?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:20:55 PDT 2025

Total time taken to generate the page: 0.00552 seconds