variables

skylib_fluffos_v3/mudlib/doc/driver/efuns/system/variables · 737 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

.DT
variables
$MUDNAME$ driver help
variables

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

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

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

({ variable_name, variable_type })

Where variable_name is the name of the given variable, and variable_type
is the type of the variable, such as "string" or "private int" etc.
.EP

.SH See also
.SI 5
.EI

Site Stats

Snippets: 1791
Codebases: 571