.\"save the values of variables in an object into a file
.DT
save_object
$MUDNAME$ driver help
save_object

.SH Name
.SI 5
save_object() - save the values of variables in an object into a file
.EI

.SH Synopsis
.SI 5
int save_object( string name, int flag );
.EI

.SH Description
.SP 5 5
Save all values of non-static variables in this object in the file `name'.
valid_write() in the master object determines whether this is allowed.
If the optional argument `flag' is 1, then variables that are zero (0) are also
saved (normally, they aren't).  Object variables and function pointers
always save as 0.  save_object() returns 1 for success, 0 for failure.
.EP

.SH See also
.SI 5
restore_object(), save_variable(), restore_variable
.EI
