Page 1 of 1

V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

Posted: 17 Oct 2018, 23:30
by SAbboushi

Code: Select all

#Warn
x:=2
gives:
Warning: This variable has not been assigned a value.

Specifically: x (a global variable)

Line#
002: x := 2
003: Exit
004: Exit
---> 004: Exit

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

Posted: 18 Oct 2018, 04:50
by Helgef
I do not have any issues on either (32 or 64 bit) a99 or a100 (latest).

Cheers.

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

Posted: 18 Oct 2018, 04:56
by swagfag
cant reproduce in neither 099 nor 100

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

Posted: 18 Oct 2018, 09:33
by SAbboushi
I'm using SciTE4AutoHotkey with DebugVars.ahk and receive the warnings when launch a debug session.

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

Posted: 18 Oct 2018, 22:49
by SAbboushi
So it looks like the problem is with SciTE4AutoHotkey or SciTE4AutoHotkey/DebugVars.ahk?

I don't experience this with 096, but I do with 099 and 100.

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

Posted: 21 Oct 2018, 22:22
by SAbboushi
Anyone?

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?  Topic is solved

Posted: 28 Jun 2020, 03:40
by lexikos
I believe this was fixed in v1.1.30.03 and v2.0-a101.

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

Posted: 28 Jun 2020, 07:54
by SAbboushi
Been trying to think of a way to give you a shout out for awhile now: I'm often awestruck at the amount of work it must take for you to continue improving ahk as you have -- and at such a high quality level -- and keeping the doc updated with the changes. Amazing and Thanks!