Jump to content
Ontosy

Au3Check bug

Recommended Posts

Ontosy

I have script a.au3:

if IsDeclared("vv")==0 Then
    Global Const $vv = "any"
Endif

script b.au3:

#include "a.au3"
$vv="any2"

Au3Check.exe b.au3 report:

error: $vv previously declared as a 'Const'.

 But IMHO it is not an error because the declaration is under condition.

Share this post


Link to post
Share on other sites
Ontosy

IMHO Au3check should know of if logic hence not report error/warning.

The script work fine.

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

×