Search found 6 matches

by irral
29 Jul 2019, 14:59
Forum: Wish List
Topic: keyword async / await
Replies: 5
Views: 779

Re: keyword async / await

For v2

Code: Select all

any_method() ;
{
}
; ...
; ... some code
SetTimer Func("any_method"), -1 ; it calls async
; ... 
by irral
29 Jul 2019, 14:46
Forum: Wish List
Topic: Keyword const
Replies: 9
Views: 816

Re: Keyword const

why would u think it was sarcasm I mean that it's not necessary. Constants are used much less frequently than common variables, therefore, they must have a unique keyword, such as const . One can always dream: https://docs.microsoft.com/de-de/windows/win32/memory/memory-protection-constants Or, add...
by irral
29 Jul 2019, 09:01
Forum: Wish List
Topic: Keyword const
Replies: 9
Views: 816

Re: Keyword const

and make all variables const by default Sarcasm? I'm talking about those cases when I want to make sure that this variable will not be accidentally changed during the work of the program. O'kay, I can write the class for that purpose, like this (v2): class const { static constants := {} __Item[name...
by irral
29 Jul 2019, 07:15
Forum: Wish List
Topic: Keyword const
Replies: 9
Views: 816

Keyword const

const keyword, that define variable as constant. const a := "some value" a := "b" ; throws exception numput("UInt", some_value, &a) ; throws exception ; -------------- const c ; like const c := "" or error at the stage of reading the script ; -------------- class A { static const b := 2 } A.b := 3 ...
by irral
05 Jul 2019, 04:15
Forum: AutoHotkey v2 Help
Topic: [a103] Bug? Topic is solved
Replies: 1
Views: 303

[a103] Bug? Topic is solved

Hi there! I'm trying to make a hotkey, which activates only if the foo() and bar() functions returns a non-zero value. The Hotkey "If", FunctionObject should help solve the problem, but if I press a hotkey in this example it will result in an error. #SingleInstance force #Persistent #UseHook boo( ()...
by irral
14 May 2019, 02:45
Forum: AutoHotkey v2 Development
Topic: ANSI v2
Replies: 1
Views: 390

ANSI v2

When can we expect ANSI v2? Or, how to build it by myself?

Go to advanced search