Re: [Gambas-user] I need a hint on how to delete duplicate items in a array

2017-08-25 Thread Gianluigi
Of course, speaking of directories, I thought it was correct not to take into account Tobias's admonitions [0]. I hope I will not go wrong :-/ Regards Gianluigi [0] https://sourceforge.net/p/gambas/mailman/message/35921360/ 2017-08-25 9:47 GMT+02:00 Gianluigi : > This code

Re: [Gambas-user] I need a hint on how to delete duplicate items in a array

2017-08-25 Thread Gianluigi
This code suggested by Vuott of Gambas-it.org, it only uses the two arrays. http://www.gambas-it.org/smf/index.php?topic=5876.msg42088#msg42088 Regards Gianluigi 2017-08-25 0:58 GMT+02:00 PICCORO McKAY Lenz : > thanks gianluigi.. i'm search for same function.. > > Lenz

Re: [Gambas-user] I need a hint on how to delete duplicate items in a array

2017-08-24 Thread PICCORO McKAY Lenz
sorry, changed: If InStr(ssB[i],sA,1,gb.Ignorecase) > 0 Then ssA.Remove(e) ssC.Push(ssB[i]) ssB.Remove(i) Break Endif now done, only return the local theme for user.. not for system theme Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com

Re: [Gambas-user] I need a hint on how to delete duplicate items in a array

2017-08-24 Thread PICCORO McKAY Lenz
hey herbert, made it .. only return the local theme: the hint: https://gambas-playground.proko.eu/?gist=c6e63a84d209911a2b3ff50d2b46a368 Dim sA As String Dim i, e As Integer Dim ssA As String[] = ["usr/share/Lopez", "Anderson", "Clark", "Wright", "Mitchell", "Johnson", "Thomas", "Rodriguez"]

Re: [Gambas-user] I need a hint on how to delete duplicate items in a array

2017-08-24 Thread PICCORO McKAY Lenz
thanks gianluigi.. i'm search for same function.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-24 18:04 GMT-04:00 Gianluigi : > I don't know if this can help you. > https://gambas-playground.proko.eu/?gist=c6e63a84d209911a2b3ff50d2b46a368 > Regards

Re: [Gambas-user] I need a hint on how to delete duplicate items in a array

2017-08-24 Thread Gianluigi
I don't know if this can help you. https://gambas-playground.proko.eu/?gist=c6e63a84d209911a2b3ff50d2b46a368 Regards Gianluigi 2017-08-24 22:39 GMT+02:00 herberth guzman : > Hi Benoit, how are you..? > > I have a question, I'm lost > Lol > > I need a hint on how to

[Gambas-user] I need a hint on how to delete duplicate items in a array

2017-08-24 Thread herberth guzman
Hi Benoit, how are you..? I have a question, I'm lost Lol I need a hint on how to delete duplicate items in a array I have the following function (I send you the code) And if he works Example For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] For Each sNames In