I've been using AppGameKit for years, but in my recent project I just noticed this strange behaviour with function names:
#option_explicit
function x()
endfunction
function movepos(x as float, y as float)
endfunction
function setpos(x as float, y as float)
endfunction
Generates these errors:
main.agc:3:Error: "x" is already being used as a function name
main.agc:3:Error: "x" is already being used as a function name
What's the issue here? It seems to think that the x parameter in the second and third functions are defining function names.