Jump to content

Isdeclared and new beta


LOULOU
 Share

Recommended Posts

How can i do, i don't understand what happen, maybe a bug in new version

I:\pcic\ModernMenu.au3(19,72) : ERROR: $SRCCOPY previously declared as a 'Const'

If Not IsDeclared("SRCCOPY") Then Global Const $SRCCOPY = 0x00CC0020

Link to comment
Share on other sites

How can i do, i don't understand what happen, maybe a bug in new version

I:\pcic\ModernMenu.au3(19,72) : ERROR: $SRCCOPY previously declared as a 'Const'

If Not IsDeclared("SRCCOPY") Then Global Const $SRCCOPY = 0x00CC0020

Try:

If Not IsDeclared("SRCCOPY") Then Assign("SRCCOPY", 0x00CC0020)

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

Try:

If Not IsDeclared("SRCCOPY") Then Assign("SRCCOPY", 0x00CC0020)
Now i have the following message very suprising because i include windowsconstants.au3 before (in this file $srccopy is declared)

I

:\pcic\ModernMenu.au3(7,57) : WARNING: $ILC_MASK: possibly used before declaration.

If Not IsDeclared("ILC_MASK") Then Assign( $ILC_MASK ,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^
Link to comment
Share on other sites

Now i have the following message very suprising because i include windowsconstants.au3 before (in this file $srccopy is declared)

I

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^

Not everything is in WindowsConstants.au3 anymore, they should be their respective constant file

ImageListConstants.au3

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

Not everything is in WindowsConstants.au3 anymore, they should be their respective constant file

ImageListConstants.au3

After seeing, it seems that the problem comes from SCITE and AU3check because if i ignore the message and bypass, my programm is compiled and works well.

Has anyone the seame problem ?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...