Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Feature request, check a function exists at runtime.  (Read 7113 times)
David H.
Posts: 158


« on: February 10, 2011, 05:05:07 pm »

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
  1. 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...
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines