Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#3860 closed Bug (No Bug)

Declared var not detected

Reported by: KaFu Owned by:
Milestone: Component: Standard UDFs
Version: 3.3.15.4 Severity: None
Keywords: Cc:

Description

#include <WinAPIInternals.au3>
MsgBox(0,"",$WINVER)

AU3Check 3.3.15.4 returns "$WINVER: possibly used before declaration." for this code, prod doesn't.

Attachments (0)

Change History (8)

comment:1 by Jos, 4 years ago

AU3Check 3.3.14.5 returns the exact same error... which version are you running with production?

>Running AU3Check (3.3.14.5)  from:C:\Program Files (x86)\AutoIt3  input:D:\Development\AutoIt3\programs\test\a.au3
"D:\Development\AutoIt3\programs\test\b\a.au3"(2,20) : warning: $WINVER: possibly used before declaration.
MsgBox(0,"",$WINVER)
~~~~~~~~~~~~~~~~~~~^

Jos

Version 0, edited 4 years ago by Jos (next)

comment:2 by anonymous, 4 years ago

Jos, you didn't use the correct token. $__WINVER

comment:3 by anonymous, 4 years ago

the variable is removed on the newest beta build

in reply to:  2 comment:4 by Jos, 4 years ago

Replying to anonymous:

Jos, you didn't use the correct token. $__WINVER

i did use what was posted as issue so not sure why you responded like this ....right? ;)

comment:5 by KaFu, 4 years ago

It’s indeed

$__WINVER

Tracs validator seems to eat the underscores, sorry for not realizing.
Currently traveling, so mit sure about the latest prod version, but should be latest one.

comment:6 by KaFu, 4 years ago

Ah, var removed in Beta? Have to check that.

comment:7 by Jos, 4 years ago

Component: Au3CheckStandard UDFs
Resolution: No Bug
Status: newclosed

Ok understand.
So looks like the INTERNAL variable is removed from Beta, so you need to set it yourself using _WinAPI_GetVersion()

Jos

comment:8 by KaFu, 4 years ago

Yep, confirmed, the INTERNAL variable was removed from Beta, so NO BUG.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


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