DaProgrammer Posted August 4, 2007 Share Posted August 4, 2007 i worked with arrays in other programming app's but it was never so complicated !!! why cant i use "$Array[0][0] = 52" ??? is there like a guide around here that explains how to work with arrays couse im confused ! will appritiate some help AND/OR link. Link to comment Share on other sites More sharing options...
MHz Posted August 4, 2007 Share Posted August 4, 2007 See if the Wiki helps you with learning arrays within AutoIt. http://www.autoitscript.com/wiki/index.php?title=Arrays Link to comment Share on other sites More sharing options...
Paulie Posted August 4, 2007 Share Posted August 4, 2007 i worked with arrays in other programming app's but it was never so complicated !!! why cant i use "$Array[0][0] = 52" ??? is there like a guide around here that explains how to work with arrays couse im confused ! will appritiate some help AND/OR link.Arrays are far from complicated, they just seem overwhelming for a new user. You are fully capable of using "$Array[0][0] = 52", as long as autoit knows that $array is a 2D array. To tell this to autoit, what you must do is declare the variable prior to using it, and in the declaration, state the number of elements that will be in each dimension of the array. Variables can be declared as local or global. Example: Dim $array[3]oÝ÷ Øz0z÷«Á鮲Ùz§)ݶ¶¢éí¡ûayé^éí²+3zºjÇæ§x"¶ËZ®Û·7«¢Øb²+"+µ©í¶'£Þq«¬z'ò¢ì׶Z½æ§jºÚËw¥zg§¶Æ§w*.uç%j·Ö¬¯y¦è½ëa{w¥zg§¶Ë-j»Z·Ijx§*.Â¥v¯{MZÝ£ +8b²+7zW¦z{lnëmè§uìhvØ^«-zW¦z{pYZ²±·µë,¶§¶§ºfÞ®ÞéÛ¢f¤{*.jºÚË +Ȧ¦yÉZè~*쵫¢+Ø%¹±Õ±ÐíÉÉä¹ÔÌÐìí¹½È}ÉÉå¥ÍÁ±ä ¤)¥´ÀÌØíÉÉålÑulÑtì¥ÙÌå½ÔÉÉÉäÝ¥Ñ ±µ¹ÑÌÀ°Ä°È°¹Ì¥¸½Ñ ¥µ¹Í¥½¹Ì¸(ÀÌØíÉÉålÁulÁtôÔÈ)}ÉÉå¥ÍÁ±ä ÀÌØíÉÉä¤ Link to comment Share on other sites More sharing options...
randallc Posted August 4, 2007 Share Posted August 4, 2007 (edited) Hi, Good refs above; local $Array[1][1]=[[52]]oÝ÷ Ù«¢+ØìÉÉäÉÑÍÐȹÔÌ(%¹±Õ±ÐíÉÉä¹ÔÌÐìí¹½È}ÉÉå¥ÍÁ±ä ¤)±½°ÀÌØíÉÉålÅulÅtõmlÔÉutì¥ÙÌå½ÔÉÉÉäÝ¥Ñ ±µ¹ÑÌÀ¥¸½Ñ ¥µ¹Í¥½¹Ì¸(íø±½°ÀÌØí¥}ÉÉå Íô°ÀÌØíÉÉålÀ¬ÀÌØí¥}ÉÉå ÍulÀ¬ÀÌØí¥}ÉÉå ÍtõmlÔÉutì¥ÙÌå½ÔÉÉÉäÝ¥Ñ ±µ¹ÑÌ¥¸½Ñ ¥µ¹Í¥½¹Ì¸(íø±½°ÀÌØíÉÉålÅulÑtõmlÔÈ°À°À°Áutì¥ÙÌå½ÔÉÉÉäÝ¥Ñ ±µ¹ÑÌ¥¸½Ñ ¥µ¹Í¥½¹Ì¸(íø±½°ÀÌØíÉÉålÑulÑtõmlÔÈ°À°À°Át±lÔÌ°À°À°Át±lÔаÀ°À°Át±lÔÔ°À°À°Áutì¥ÙÌå½ÔÉÉÉäÝ¥Ñ ±µ¹ÑÌ¥¸½Ñ ¥µ¹Í¥½¹Ì¸(íøÀÌØíÉÉålÁulÁtôÔÈ)}ÉÉå¥ÍÁ±ä ÀÌØíÉÉä¤Best, Randall Edited August 4, 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...
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