Yes, do it the way that works!
You are specifying a function object to call. A function object does not have the parentheses because that is a function call rather than a function object (if not a method, for example).
Explained: Function objects
Also:
I'm not an expert, but my understanding is that when you name the function as a func object in this manner, it represents the function.
You are specifying a function object to call. A function object does not have the parentheses because that is a function call rather than a function object (if not a method, for example).
Explained: Function objects
Also:
Func Object. Represents a user-defined or built-in function and provides an interface to call it, bind parameters to it, and retrieve information about it or its parameters.
Source: Func Object - Methods & Properties | AutoHotkey v2
I'm not an expert, but my understanding is that when you name the function as a func object in this manner, it represents the function.
Statistics: Posted by mikeyww — 50 minutes ago