FYI, that's one thing that is now covered in my documentation:
Script Compatibility -
DllCall
Standard (or "mainstream") AutoHotkey is an ANSI build. It also notes where it differs from AutoHotkey_L ANSI builds.
As for the original topic: One of the things under consideration (long ago!) for v2 was replacement of %0% %1% etc. with some built-in variables or a built-in function. For instance, infogulch suggested
A_0, A_1, etc., JSLover(?) suggested A_Param1, A_Param2, ...
I think the current issues are obscurity (things like
if 0 > 1) and the lack of support for them directly in expressions. If they were replaced with a built-in function, it could return all parameters when the parameter number was omitted:
Code:
all_args := GetCommandLineArg()
arg_1 := GetCommandLineArg(1)
Naming may be difficult: do we want clarity or brevity?