I am writing my first AFL Plugin, and can build the Sample DLL using Visual Studio 2022 and call DLL functions from 64-bit AmiBroker. Also, I have seen this note in the ADK documentation:
Note that AFL allows unlimited number of arguments but the order is fixed: first come the array arguments, then string arguments, then numeric arguments with no defaults and at the end - numeric arguments with default values.
Indeed, the AFL syntax checker seems to assume that the function arguments will be in that order, which is the same order used in the Function Table.
My question is whether there is any way to specify a different order of the argument types expected by my DLL function? For example, if I wanted to create my own function similar to StaticVarSet, I would want the argument types to be "string, array", not "array, string". More specifically, since I am replacing user functions written in AFL which did NOT have the argument types in "array, string, float" order, it would be nice to keep the order of the arguments the same.