Hi,
Unprefixed library local functions are not recognized when they are called before the prefixed functions.
the manual wrote:
However, such functions should have fairly distinct names because they will still be in the global namespace; that is, they will be callable from anywhere in the script.
Save this as myfunc.ahk in one of the library folders.
Code:
myfunc() {
msgbox hello
}
funcwithoutprefix() {
msgbox % A_Thisfunc
}
This runs fine.
Code:
myfunc()
funcwithoutprefix()
However, this doesn't, which I think it should.
Code:
funcwithoutprefix()
myfunc()