Opened 13 years ago

Closed 13 years ago

#1769 closed Bug (Rejected)

Au3Check does not Check "If Not IsDeclared("VAR") Then Then Global Const"

Reported by: Emiel Wieldraaijer Owned by: Jos
Milestone: Component: Au3Check
Version: Severity: None
Keywords: Cc:



Maybe i'm wasting your time(and mine)

I don't know if it's by design or not the function of Au3Check but
If i include Constants.au3 and another include file

Which hold the following code :

If Not IsDeclared("IDI_HAND")Then Global Const $IDI_HAND = 32513

Au3Check gives the following Error
C:\WorkInProgress\Include\ModernMenuRaw.au3(122,81) : ERROR: $IDI_HAND previously declared as a 'Const'

Maybe it isn't a bug.. if it isn't it could be a feature request.


Emiel Wieldraaijer

Attachments (0)

Change History (1)

comment:1 Changed 13 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

The code you demonstrate is stupid and is a hack work-around for a larger organization issue.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jos.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.