yana209 Posted November 20, 2007 Share Posted November 20, 2007 Hi everyone, We on our client's server computer which potentially very important system as it is the backbone for management solution provided by us, have some strange "AutoIt" error. AutoIt ErrorLine 0 File("C\WINNT\System32\SVICHOSST.exe")If $odia[1]""<>ThenIf^ERRORError: Array variable has incorrect number of subscripts or subscript dimension range exceeded.I cannot opt for a fresh installation of Windows2000, so would need help on this, as I have never come across something like this before.ThanksYasir Link to comment Share on other sites More sharing options...
Developers Jos Posted November 20, 2007 Developers Share Posted November 20, 2007 (edited) i assume the line should read: If $odia[1] <> "" Then ?It means that the Array doesn't have at least a dimension of 2 like this example which will generate the same error:Dim $odia[1] If $odia[1] <> "" Then EndIfSo you need to check your script how the array is created... Edited November 20, 2007 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
yana209 Posted November 20, 2007 Author Share Posted November 20, 2007 i assume the line should read: If $odia[1] <> "" Then ? Well my bad yes the line is like that. But this is the self generated error. I don't even know of automation of scripts. Link to comment Share on other sites More sharing options...
DW1 Posted November 20, 2007 Share Posted November 20, 2007 The error says it all... what is the question here? AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Developers Jos Posted November 20, 2007 Developers Share Posted November 20, 2007 Well my bad yes the line is like that. But this is the self generated error. I don't even know of automation of scripts.Not sure what you are saying here but there is an issue in the script ... look at its source and check why the Array isn't properly initialized. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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