NAME
save_object - save global variables in current object to a file
SYNOPSIS
void save_object(string filename)
DESCRIPTION
Saves all non-static global variables of an object to a given file.
All variables are saved except those currently of the type object.
The filename gets a filetype ".o" appended and the format is:
variable_name variable_value
intvar number
stringvar "stringvalue"
arrayvar ({ variable_values })
mappingvar ([ index:value ])
BUGS
Don't start the filename with a '/'. If the string does start with
a '/', this efun will not save anything, rather, you will get a
strange looking error.
SEE ALSO
restore_object
Help topics available:
You are guest number 169 since February 2020.
This file was last modified: June 2000.