Changes between Initial Version and Version 1 of Ticket #2551, comment 6


Ignore:
Timestamp:
12/04/13 12:47:45 (7 years ago)
Author:
Melba23
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2551, comment 6

    initial v1  
    33AutoIt itself has no problem with your originally posted construct in either 3.3.8.1 or the Beta.  The error is flagged up by the Au3Check syntax checking tool.  Its logic is pretty simple and as far as it is concerned you are indeed declaring the same constant twice - so it fires off an error.  This happens regardless of the version used and it is not reasonable to expect Au3Check to check if the declaration is within a conditional statement - it is complex enough already.
    44
    5 However, I still stand by the comment that the item in question is not a constant given that its value is only determined at run time, but who am I to argue with the Devs who permit it to be so. :)
    6 
    75M23