[Bug] v2.082 - global/local/static Topic is solved

Discuss the future of the AutoHotkey language
HotKeyIt
Posts: 1705
Joined: 29 Sep 2013, 18:35
Contact:

[Bug] v2.082 - global/local/static

25 Dec 2017, 16:16

Error at line 2.
Line Text: global
Error: This line does not contain a recognized action.

Code: Select all

fun(){
global
}
lexikos
Posts: 6205
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: [Bug] v2.082 - global/local/static

25 Dec 2017, 17:21

Thanks. It was a case of trying to keep v1 and v2 source in sync, while forgetting that v2 puts assume-local into effect earlier to simplify #MustDeclare. (v1 does not allow changing the mode after setting it with the first declaration.)

Return to “AutoHotkey v2 Development”

Who is online

Users browsing this forum: No registered users and 5 guests