save_object(3) LPC Library Functions save_object(3)
NNAAMMEE
save_object() - save the values of variables in an object
into a file
SSYYNNOOPPSSIISS
int save_object( string name, int flag );
DDEESSCCRRIIPPTTIIOONN
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 sec-
ond argument is 1, then variables that are zero (0) are
also saved (normally, they aren't). Object variables
always save as 0.
RREETTUURRNN VVAALLUUEE
save_object() returns 1 for success, 0 for failure.
SSEEEE AALLSSOO
restore_object(3)
MudOS 5 Sep 1994 1