I use the H version of the addScript function, which automatically generates functions.
Before calling a function, it will use isfunc("__func_" fn_id) to judge, if not, then use addScript to generate this function.
However, in V2-138, I tried various methods that generate an error: "Error: Variable not found."
type(__func_%fn_id%)
isset(__func_%fn_id%)
I tried using "#Warn All, Off" with no effect either.
How do I turn off the error reporting, or how do I determine if the function exists?
How can I tell if a function exists? Topic is solved
Re: How can I tell if a function exists? Topic is solved
I would just use a try/catch block for that.