Next: write() Up: MacAnova Help File Previous: while   Contents


The "workspace" consists of all MacAnova variables and macros.
Saving the workspace to a file
  save(fileName) saves whole workspace in binary format
  save(fileName,var1 [,var2 ...]) saves variables in binary format
  asciisave(fileName) saves whole workspace in text format
  asciisave(fileName,var1 [,var2 ...]) saves variables in text format
Restoring the workspace from a file
  restore(fileName [keywords])
Seeing contents of workspace
  listbrief([var1, var2, ...] [keywords]) just lists names
  list([var1, var2, ...] [keywords])  includes details

Keywords: general
The "workspace" consists of all MacAnova variables and macros.  These
include not only variables and macros explicitly created by you as you
use MacAnova, but all pre-defined macros such as hist(), pre-defined
variables such as PI and variables such as RESIDUALS created as
"side-effects" of MacAnova functions.

The workspace "resides" in memory (RAM) and not on disk.  One
consequence is that when you quit MacAnova, your variables are lost.
Before you quit you can save a copy of the workspace on disk using
save() or asciisave().  In a later MacAnova session, you can use
restore() to recover the workspace you saved.  See save(), asciisave()
and restore().

To get a catalog of everything in your workspace, type 'list()' or
'listbrief()'.  Using keyword phrases such as 'real:T' or 'nrows:100'
you can restrict the catalog to variables of particular types or sizes.
See list() and listbrief() for details.

Use delete() to remove items from your workspace.  Be careful not to
delete something you want to keep since there is no "undelete"

Gary Oehlert 2003-01-15