AU3Newbie Posted February 1, 2007 Share Posted February 1, 2007 (edited) i HAVE a n array that more than 50 elements,how to DIM it? ERROR: all.au3 (6) : ==> Incorrect number of parameters in function call.: Dim $colorlist=_ArrayCreate("dedfde","cecfce","c6c7c6","c6cbc6","e7c742","dec34a","dec342","292c8c","3138a5","3138ad","c60000","b50000","bd0000","7324b5","7328bd","de7500","e77900","007500","006d00","84594a","845d4a","212421","212021","212821","182018","181c18","c6aa39","c6ae39","ceb639","31349c","3138ad","ad0000","bd0000","c60000","b50000","7324b5","d67500","ce7100","007d00","008200","845d4a","735542","7b5542","8C9A94","D6D7D6","CED7CE","e7e7e7","212421","949694","9496D6") Dim $colorlist=_ArrayCreate("dedfde","cecfce","c6c7c6","c6cbc6","e7c742","dec34a","dec342","292c8c","3138a5","3138ad","c60000","b50000","bd0000","7324b5","7328bd","de7500","e77900","007500","006d00","84594a","845d4a",^ ERROR +>17:24:23 AutoIT3.exe ended.rc:0 +>17:24:24 AutoIt3Wrapper Finished Edited February 1, 2007 by AU3Newbie Link to comment Share on other sites More sharing options...
AU3Newbie Posted February 1, 2007 Author Share Posted February 1, 2007 Solved! thx.I dim it by [50] instead of us _arraycreat. Link to comment Share on other sites More sharing options...
Uten Posted February 1, 2007 Share Posted February 1, 2007 Take a look at the array tutorial in the wiki. Several has reported it as educational.. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling 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