xzaz Posted May 25, 2007 Share Posted May 25, 2007 (edited) Hi,Again i need a fresh mind about 1 obstacle. The problem is i got this Array after i "_ArraySort( $Array,1,1)" it. Now my problem is that i cant get those stupid "empty" (I think they have a @CRLF) array[6] to array[13] out of it. I know you can delete Arrays with_ArrayDelete( $avArray,<id>)oÝ÷ Ù8^¦ºé¢²ØZ¶'×^ë^¶jwm«hæÞq«¬z+l©Ý¢d¨ëaz·ítºÚÊÊ-êìÜ-êÞk²¶!yÉ-é^m¡ûax ëk ×âÖ§ÊØb"¶ay+kxºw-ìèêíà+¬ºw-ì:¸¬¶«y¦Þ¶«Á¬J'èºwm+Xm¶ÿúÚ"¶Ç+¢oߢ»¦þ)Ý{a¦ÈhÂÚ)oÝ÷ Ù8^ë.Ü"VÞh!¶Úÿ0Ç6³_Ú®¶²ë.Øéø¦Â§¶9n²X¤zØb±«¢+Ù½ÈÀÌØí¤ôÀѼÔHe nicely gives the 6 items in a row. Edited May 25, 2007 by xzaz Small Color Picker v0.2 | Travian bot Link to comment Share on other sites More sharing options...
randallc Posted May 25, 2007 Share Posted May 25, 2007 (edited) Hi, Something like; #include<array.au3> for $i=UBound($array)-1 to step -1 if $array[$i]="" then _ArrayDelete($array,$i) [or "= 'what is it?'"] Next?? Randall Edited May 25, 2007 by randallc ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
xzaz Posted May 25, 2007 Author Share Posted May 25, 2007 The problem is I dont know whats in there, it gives me a block ([], and then a small one). Small Color Picker v0.2 | Travian bot Link to comment Share on other sites More sharing options...
randallc Posted May 25, 2007 Share Posted May 25, 2007 (edited) if not IsNumber($array[$i]) and not IsString($array[$i]) and not Isfloat($array[$i]) then _ArrayDelete($array,$i)r [or similar?] Edited May 25, 2007 by randallc ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
Toady Posted May 25, 2007 Share Posted May 25, 2007 #include<array.au3> for $i=UBound($array)-1 to step -1 if Not IsNumber($array[$i]) then _ArrayDelete($array,$i) [or "= 'what is it?'"] Next www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding Link to comment Share on other sites More sharing options...
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