Modify

Opened 15 years ago

Closed 15 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: 3.3.6.1 Severity: None
Keywords: Cc:

Description

Hi,

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.

Thanks

Emiel Wieldraaijer

Attachments (0)

Change History (1)

comment:1 by Valik, 15 years ago

Resolution: Rejected
Status: newclosed

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

Modify Ticket

Action
as closed The owner will remain Jos.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.