HPlogo System Debug Reference Manual > Chapter 6 System Debug Command Specifications M-X

STORE

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

Stores the currently defined macros or variables to a file.

Syntax



   STORE MACROS    filename
   STORE VARIABLES filename

The STORE command quickly saves macros or variables to a binary file. At a later point, the RESTORE command can be used to restore these saved macros or variables.

The current limits (as set by ENV MACROS or ENV VARS and ENV VARS_LOC) are automatically saved in the STORE file, and is reestablished when this file is restored with the RESTORE command.

Parameters


MACROS

Specifies that macros are to be stored. This keyword can be abbreviated and entered in uppercase or lowercase.

VARIABLES

Specifies that variables are to be stored. This keyword can be abbreviated and entered in uppercase or lowercase.

filename

The file name where the macros or variables are to be stored.

Examples



   $nmdat > store mac savemac
   $nmdat > macd @
   $nmdat > restore mac savemac

Stores the currently defined macros into the file SAVEMAC. All macros are deleted, then the RESTORE command is used to restore them all again.

Related command: RESTORE

Related ENV variables : MACROS, VARS and VARS_LOC

Limitations, Restrictions


STORE and RESTORE are currently very version dependent.

If the internal versions of macros, variables, or storage management changes, it may not be possible to restore from a file that was stored with earlier versions of the STORE command. An error is generated.




S, SS


SYMCLOSE