.\"load a copy of an object
.DT
new
$MUDNAME$ driver help
new
.SH Name
.SI 5
new() - load a copy of an object or allocate a new class
.EI
.SH Synopsis
.SI 5
varargs object new( string name, ... );
varargs class new( class name, ... );
.EI
.SH Description
.SP 5 5
If given a string, it behaves like clone_object(). If `name' is a class
type, it creates a new instance of the class type. Extra arguments are
of the form "member : value", so you can initialise the class.
.EP
.SH Example
.SI 5
class dummy {
int frog;
string *womble;
}
class dummy x = new( class dummy, frog : 1, womble : ({ }) );
.EI
.SH See also
.SI 5
clone_object(), destruct(), move_object()
.EI