ghetek Posted January 26, 2010 Share Posted January 26, 2010 hi everybody! I created a script and sent it over to a friend. it worked fine on my system but for some reason its throwing an error on their system: AutoIT Error Line -1: Error: Variable used without being declared The error is just too vague. i tried searching around in the example section but i couldnt find what i was looking for. Does anybody know of a good debuggin tool that i can include in teh script itself to generate more useful error reports? I remember seeing one here on the forums a while back with a really nice GUI and even gave line numbers to find the error. thanks in advance. Link to comment Share on other sites More sharing options...
BrettF Posted January 26, 2010 Share Posted January 26, 2010 (edited) Run the script with #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 And you will cease to have a problem with declared variables and other things that could throw an error. Its just bad coding on your behalf by not declaring variables when you should and going ahead and using them without them well, existing.. Cheers, Brett Edited January 26, 2010 by BrettF Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
James Posted January 26, 2010 Share Posted January 26, 2010 What does the script do? Does it have any COM uses? You're being too vague. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
ghetek Posted January 27, 2010 Author Share Posted January 27, 2010 sorry for being vague! i finally found what i was looking for.Thanks! 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