Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing Duplicates in an Array?
Message
From
03/11/2001 07:06:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/11/2001 07:01:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00576991
Message ID:
00577104
Views:
17
>>Any simple way to remove duplicates in a one dimensional array? No specific order to the rows and the elements are text. I'm thinking of looping through, and comparing elements, but the no-order thing has got me paused... Thanks!
>>
>>Regards, Renoir
>
Renoir,
If you want it back in original array first release the original and copy from temp one :

release myArray
acopy(aNoDupes,myArray)
release aNoDupes

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform