Sign in to follow this  
Followers 0
AU3Newbie

aRRAY CAN SURPPORT LEST THAN 50 ELEMENTS?

3 posts in this topic

#1 ·  Posted (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 by AU3Newbie

Share this post


Link to post
Share on other sites



Solved!

thx.I dim it by [50] instead of us _arraycreat.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0