
save_object(3)        LPC Library Functions        save_object(3)

NNAAMMEE
       save_object()  - save the values of variables in an object
       into a file

SSYYNNOOPPSSIISS
       int save_object( string name, int flag );

DDEESSCCRRIIPPTTIIOONN
       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.

RREETTUURRNN VVAALLUUEE
       save_object() returns 1 for success, 0 for failure.

SSEEEE AALLSSOO
       restore_object(3)

MudOS                       5 Sep 1994                          1

