thefunkie1 Posted May 2, 2006 Share Posted May 2, 2006 I currently have a script that uses the following snippet of code that always generates an error on compile but I can click "Continue anyway" and there are no issues, the code does what it should. Here is the snippet: #include <Array.au3> If _ArraySearch($CmdLine, "/debug") > 0 Then $debug = 1 EndIf Can anyone tell me why it generates an error on compile? Link to comment Share on other sites More sharing options...
Don N Posted May 2, 2006 Share Posted May 2, 2006 can u post the error that it generates? _____________________________________________________"some people live for the rules, I live for exceptions"Wallpaper Changer - Easily Change Your Windows Wallpaper Link to comment Share on other sites More sharing options...
GaryFrost Posted May 2, 2006 Share Posted May 2, 2006 I currently have a script that uses the following snippet of code that always generates an error on compile but I can click "Continue anyway" and there are no issues, the code does what it should. Here is the snippet:#include <Array.au3>If _ArraySearch($CmdLine, "/debug") > 0 Then $debug = 1EndIfCan anyone tell me why it generates an error on compile?Make sure you have the latest au3check SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Don N Posted May 2, 2006 Share Posted May 2, 2006 I got no errors runnign the code, make sure you run and compile it with the BETA release of AutoIt, _ArraySearch() is not included in previous versions _____________________________________________________"some people live for the rules, I live for exceptions"Wallpaper Changer - Easily Change Your Windows Wallpaper 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