Sardith Posted May 4, 2007 Posted May 4, 2007 Array variable has incorrect number of subscripts or subscript dimension range exceeded.: MsgBox("", "", $Split[3], 10) MsgBox("", "", ^ ERROR What does this error mean? Is it possible to have to many dims? Or arrays in a single Func? [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]
Valuater Posted May 4, 2007 Posted May 4, 2007 maybe.. $days = StringSplit("Sun,Mon,Tue,Wed,Thu,Fri,Sat", ",") ;$days[1] contains "Sun" ... $days[7] contains "Sat" ; no error here for $x = 1 to $days[0] MsgBox(0,"day", $days[$x], 3) Next ; this will error because there is no $days[8] for $x = 1 to $days[0] +1 MsgBox(0,"day", $days[$x], 3) Next 8)
Sardith Posted May 4, 2007 Author Posted May 4, 2007 (edited) Yep, thats what it was Valuater. Thanks I forgot to Error check =) Edited May 4, 2007 by Sardith [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]
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