Is there any way to define numerical values in AHK (V1 or V2) that never change?
For example, if I have 20 specific timing values for specific actions that I don't want to spread throughout all of my script, I would do something like this..
Code: Select all
global TimeJump = 200
global TimeAttack = 100
global TimePunch = 250
global TimeKick = 50
etc..
These variables would never change, and could be optimized completely out of the script automatically when it is loaded (replaced with their values). There would also likely be some type of friendlier syntax for it, such as..
Code: Select all
enum ModifierModes
{
ACTION = 0,
TOOLS,
FILTERS,
EFFECTS,
NUM_MODIFIERS
}
I'm not asking for a feature, just wondering if something like this currently exists? Global constants, constant enum, etc?
Thank you!