Sign in to follow this  
Followers 0
thefunkie1

_arraysearch Error

4 posts in this topic

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?

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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?

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.

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0