Feature request, check a function exists at runtime.

Started by David H., February 10, 2011, 05:05:07 PM

Previous topic - Next topic

David H.

Using fgl_call() it is possible to call a function which does not exist causing a runtime error. I'd like to be able to write something like:-

Code (c) Select
if fgl_function_exists("funcname")  fgl_call(funcname)

It would also be nice if a documented function could be made available to call a function passing the function name as a string which can then vary at runtime, i.e:-

fgl_calls("myfunc")

I can do this currently but only by using an undocumented function...