Contents - Index



The $SaveVarInfo directive will save variable information (e.g, guess values, limits, units, etc.) after a successful calculation in a variable information file having a file name extension of .VAR. These .VAR files can be loaded with the $INCLUDE directive, with the Load button in the Diagram window, or with the load variable info button in the Variable Information dialog.  This directive can only be used in the Professional version.   This directive then provides similar capability as the Save button in the Diagram window. It is particularly useful for automatically saving a default set of values for the inputs to a Distributable program.


The $SaveVarInfo directive has two forms.  If there is no information following on the same line, the file name for the variable information file will be the same as the EES file name, but with a .VAR file name extension.  Distributable programs will look for and automatically load a .VAR file having the same parent name as the EES program in the executable program.


Alternatively, a string constant or string variable containing the name of a .VAR file can be supplied as a parameter following the $SaveVarInfo directive, e.g.,



$SaveVarInfo H$


In this case, the variable information will be saved in the specified location.


See also:


Saving and Loading Diagram Inputs

EES file types

Variable Information

Variable Information Files