d4rk Posted May 17, 2008 Posted May 17, 2008 i don't know but it's still there $DirContent is successfully created $InContent=_FileListToArray($DirContent,"*.*") $Delindex=_ArrayBinarySearch($InContent,"index.dat");delete index.dat file from the array If Not @error Then _ArrayDelete($InContent,$Delindex) EndIf thanjs [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
Developers Jos Posted May 17, 2008 Developers Posted May 17, 2008 Are you sure your Array is properly sorted since else the _ArrayBinarySearch() will not work right. You could also use _ArraySearch() which doesn't require a sorted array or first sort the array with _ArraySort() Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
d4rk Posted May 17, 2008 Author Posted May 17, 2008 (edited) I'm sorry, i'm being lazy... Edited May 17, 2008 by d4rk [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
Developers Jos Posted May 17, 2008 Developers Posted May 17, 2008 Why ? Didn't _ArrayDelete() work for you ? #include<array.au3> Dim $a[5] = [4,"a","b","c","d"] _ArrayDisplay($a) _ArrayDelete($a,0) _ArrayDisplay($a) Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now