A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/efun/function_exists
Name: function_exists - check if a function exists in an object
Syntax:
string function_exists(string str, object ob)
Description:
The function_exists finds out if function str is defined in object ob.
Return value:
If the function is not defined, 0 is returned. Else the file_name
of the object that defines str is returned. This can be different
from the filename of ob, if the function is defined by an inherited
object.
Examples:
string def;
def=function_exists("init", this_object());
See also:
This page was generated in LPC
Imprint / Impressum