ldmud-3.4.1/doc/
ldmud-3.4.1/doc/efun.de/
ldmud-3.4.1/doc/efun/
ldmud-3.4.1/doc/man/
ldmud-3.4.1/doc/other/
ldmud-3.4.1/mud/
ldmud-3.4.1/mud/heaven7/
ldmud-3.4.1/mud/lp-245/
ldmud-3.4.1/mud/lp-245/banish/
ldmud-3.4.1/mud/lp-245/doc/
ldmud-3.4.1/mud/lp-245/doc/examples/
ldmud-3.4.1/mud/lp-245/doc/sefun/
ldmud-3.4.1/mud/lp-245/log/
ldmud-3.4.1/mud/lp-245/obj/Go/
ldmud-3.4.1/mud/lp-245/players/lars/
ldmud-3.4.1/mud/lp-245/room/death/
ldmud-3.4.1/mud/lp-245/room/maze1/
ldmud-3.4.1/mud/lp-245/room/sub/
ldmud-3.4.1/mud/lp-245/secure/
ldmud-3.4.1/mud/morgengrauen/
ldmud-3.4.1/mud/morgengrauen/lib/
ldmud-3.4.1/mud/sticklib/
ldmud-3.4.1/mud/sticklib/src/
ldmud-3.4.1/mudlib/uni-crasher/
ldmud-3.4.1/pkg/
ldmud-3.4.1/pkg/debugger/
ldmud-3.4.1/pkg/diff/
ldmud-3.4.1/pkg/misc/
ldmud-3.4.1/src/autoconf/
ldmud-3.4.1/src/hosts/
ldmud-3.4.1/src/hosts/GnuWin32/
ldmud-3.4.1/src/hosts/amiga/
ldmud-3.4.1/src/hosts/win32/
ldmud-3.4.1/src/ptmalloc/
ldmud-3.4.1/src/util/
ldmud-3.4.1/src/util/erq/
ldmud-3.4.1/src/util/indent/hosts/next/
ldmud-3.4.1/src/util/xerq/
ldmud-3.4.1/src/util/xerq/lpc/
ldmud-3.4.1/src/util/xerq/lpc/www/
ldmud-3.4.1/test/t-030925/
ldmud-3.4.1/test/t-040413/
ldmud-3.4.1/test/t-041124/
SYNOPSIS
        #include <functionlist.h>

        mixed function_exists (string str [, int flags])
        mixed function_exists (string str , object ob, [, int flags])

DESCRIPTION
        Look up a function <str> in the current object, respectively
        in the object <ob>. Depending on the value of <flags>, one
        of the following informations is returned:

        <flags> == FEXISTS_PROGNAME (0, default):
          Return the name of the program the function is defined in.
          This can be either object_name(ob), or the name of an inherited
          program. If !compat mode, the returned name always begins
          with a '/'.

        <flags> == FEXISTS_FILENAME (1):
          Return the name of the file the function is defined in (this
          may be an include file). If !compat mode, the returned name
          always begins with a '/'.

        <flags> == FEXISTS_LINENO (2):
          Return the line number within the source file.

        <flags> == FEXISTS_ALL (3):
          Return an array with all the above information. The above
          flag values are the indices into that array.

        The <flags> value can be or-ed to NAME_HIDDEN to return
        information about static and protected functions in other objects.
        It is not possible to return information about private functions.

        If the function cannot be found (because it doesn't exist or
        it is not visible to the caller), the result is 0.

EXAMPLES
        function_exists("create")
        function_exists("create", that_object, NAME_HIDDEN|FEXISTS_ALL);

HISTORY
        LDMud 3.2.10 broadened the range of returned values and introduced
          the <flags> argument.

SEE ALSO
        call_other(E), call_resolved(E), functionlist(E), variable_exists(E)