Prism 6.0 Reference Manual

varsave

Saves the values of a variable or expression to a file.

SYNTAX

varsave "filename" expression

DESCRIPTION

Use the varsave command to save the values of the variable or expression specified by expression to the file filename. You can subsequently restore the values in filename via the varfile intrinsic (except in MP Prism) and compare them with another version of the variable or expression via the Diff or Diff With selection from a visualizer's Options menu.

EXAMPLES

varsave "alpha.data" alpha

saves the values of the variable alpha in the file alpha.data (in your current working directory within Prism).

varsave "/u/kathy/alpha2.data" alpha*2

saves the results of the expression alpha*2 in the file with the path name /u/kathy/alpha2.data.