qwert Posted January 15, 2011 Share Posted January 15, 2011 A user of one on my compiled scripts reported an error related to a non-Array Variable ... at Line 961.My script is only 360 lines long, so I'm concluding that the error line points into one of the include files. But I can't see a way to view Line 961 in a composite listing that shows the entire script as it was amassed during the compile operation. Is there such a thing? If not, how does one go about locating the offending line in errors like these?Thanks in advance for any advice. Link to comment Share on other sites More sharing options...
Mat Posted January 15, 2011 Share Posted January 15, 2011 If there's not many includes, then it might be worth it to see if you can mimic how AutoIt adds the includes by directly adding the files... That probably won't be completely accurate either. For future builds, I'd use obfuscator with "/striponlyincludes", and then keep the obfuscated version of the script, that way the lines will be fairly similar (I usually do this anyway as it reduces script size by quite a lot). AutoIt Project Listing Link to comment Share on other sites More sharing options...
qwert Posted January 18, 2011 Author Share Posted January 18, 2011 Lacking a better approach, I pulled the needed sections of subscripts into the main script and got rid of most of the includes. I recompiled, expecting to be able to get a better look at the array error. Lo and behold, the script now tests out fine in all cases ... and executes on the user's machine. I won't be surprised if the error shows up in some other form, but for now, I'm back to having a working script. Aren't computers great! Thanks for the help. 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