You need to call your function the same way you call builtin functions. If you use the green triangle, your function will be run without any input arguments.
It is also good practice to resolve all mlint warnings (the orange squiggly lines). There is an option to leave your code as-is and suppress the error, but for the current warnings about your code you shouldn't.