(dribble "myfile")starts a recording. All expressions typed by you and all results typed by XLISP-STAT will be entered into the file named "2D myfile. The expression
(dribble)stops the recording. Note that "2D (dribble "myfile") starts a new file by the name "2D myfile. If you already have a file by that name its contents will be lost. Thus you can't use dribble to toggle recording to a single file on and off.
"2D dribble only records text that is typed, not plots. However, you can use the standard Macintosh shortcut COMMAND-SHIFT-3 to save a MacPaint image of the current screen. You can also choose the Copy command from the Edit menu, or its command key shortcut COMMAND-C, while a plot window is the active window to save the contents of the plot window to the clip board . You can then open the scrap book from the apple menu and paste the plot into the scrap book.
Variables you define in XLISP-STAT only exist for the duration of the current session. If you quit from XLISP-STAT, or the program crashes, your data will be lost. To preserve your data you can use the "2D savevar function. This function allows you to save one or more variables into a file. Again a new file is created and any existing file by the same name is destroyed. To save the variable "2D precipitation in a file called "2D precipitation.lsp type
(savevar 'precipitation "precipitation")Do not add the "2D .lsp suffix yourself; "2D savevar will supply it. To save the two variables "2D precipitation and "2D purchases in the file "2D examples.lsp type 13.
(savevar '(purchases precipitation) "examples")The files "2D precipitation.lsp and "2D examples.lsp now contain a set of expression that, when read in with the "2D load command, will recreate the variables "2D precipitation and "2D purchases. You can look at these files with an editor like MacWrite or the XLISP-STAT editor and you can prepare files with your own data by following these examples.