functions

skylib_fluffos_v3/mudlib/doc/driver/efuns/system/functions · 888 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

.DT
functions
$MUDNAME$ driver help
functions

.SH Name
.SI 5
functions() - list all the functions in a given object
.EI

.SH Synopsis
.SI 5
string *functions( object ob );
string *functions( object ob, int flag );
.EI

.SH Description
.SP 5 5
functions() can return two different things. If `flag' is
0 or omitted, it will return an array containing the names
of all the functions in the object `ob'.  If `flag'
is non-zero, more information about each function is
given.  For a non-zero second argument, each array element contains
the following:
.EP

.SI 5
({ function_name, number_of_arguments, return_type, ... }).
.EI

.SP 5 5
Where the fourth and following elements are the argument types.  If
the save_types pragma was not in effect when the function was compiled,
number_of_arguments will be correct, but no types will be available.
.EP

.SH See also
.SI 5
function_exists()
.EI

Site Stats

Snippets: 1791
Codebases: 571