Persistence

package . save ( outputStream )

Save the symbol table of the the specified package into outputStream.

e.g.
package().save(open("/tmp/save.pkg", "w"))

This function saves only serializable objects from the symbol table of the target package.

If "pnuts.debug" property is "true", name and value of variables to be saved are displayed.

package = readObject ( filename )
package ( package )
e.g.
package(readObject("/tmp/save.pkg"))

If "pnuts.debug" property is "true", names and values to be read are displayed.


Back