Contents - Index


Save (Macro Commands )

 

Save

Save the current EES file with its existing file name

 

Save FileName$

Save the current EES file with the name provided in FileName.  FileName can be a string constant (enclosed in single quotes) or a string variable (ending with a $ character) as shown. 

 

SaveArrays 'main' 'c:\myArrays.txt'  /A /T /N /E

Save the contents of the Arrays table having the tab name 'main'  to file myArrays.txt on drive C:  If ? is provided in place of the file name, a dialog will appear to enter a file name.  The following options can be applied to .TXT and .CSV files.  

If /A is provided as an option and the file exists, the current information in the table will be appended to the existing file.

If /T is provided, the data in the file will be transposed.  This option is not compatible with /E.

If /N is provided, the column name and units will be written, followed by the data in the table

If /E is provided, the file will be written in a format that can be read as a EES Lookup Table.  (Use /E /N to save all column information in an EES Lookup table). 

 

SaveIntegral 'main' 'C:\myInt.txt' /A /T /N /E

Save the contents of the Integral Table having the tab name 'main'  to a file called myInt.txt on drive C:  If ? is provided in place of the file name, a dialog will appear to enter a file name.  The following options can be applied to .TXT and .CSV files.

If /A is provided as an option and the file exists, the current information in the table will be appended to the existing file.

If /T is provided, the data in the file will be transposed. This option is not compatible with /E.

If /N is provided, the column name and units will be written, followed by the data in the table.

If /E is provided, the file will be written in a format that can be read as a EES Lookup Table.   (Use /E /N to save all column information in an EES Lookup table).  

 

SaveLookup 'Lookup 1' 'C:\myTable.txt'   /A /T /N /E

Save the contents of the Lookup table having the tab name 'Lookup 1' to a file named C:\mytable.txt.  If ? is provided in place of the file name, a dialog will appear to enter a file name. The following options can be applied to .TXT, .CSV and .DAT files.  They are not applicable if the saved file has an .LKT file  name extension.

If /A is provided as an option and the file exists, the current information in the table will be appended to the existing file.

If /T is provided, the data in the file will be transposed. This option is not compatible with /E.

If /N is provided, the column name and units will be written, followed by the data in the table.

If /E is provided, the file will be written with column names and units in a format that can be read as a EES Lookup Table. (Use /E /N to save all column information in an EES Lookup table). 

 

SavePlot  'my Plot'  'PlotFileName.jpg'

If a plot having a tab name of 'myPlot' exists, save the plot in a file having filename 'PlotFileName.jpg'.  Both the plot tab name and the file name may be supplied as string constants (surrounded by single quotes) or as predefined string variables (that end with a $ character).  Alternatively, the plot tab name may be indicated with an integer.  Use 0 to indicate the foremost plot.  The filename extension may be .jpg, .bmp, .tif or .emf.  EES will save the plot in the designated format.

 

SaveSolution 'mySoln.txt' /A

Save the contents of the main Solution window to a file called mySoln.txt.  The /A option will append, i.e., allow writing to the bottom of the file without deleting the existing information.

 

SaveTable 'Table 1' 'myTable.txt' /A /T /N /E

Save the contents of the Parametric table named 'Table 1' in the Parametric Table Window to a file called myTable.txt.  If ? is provided in place of the file name, a dialog will appear to enter a file name. The following options can be applied to .TXT, .CSV and .DAT files.  They are not applicable if the saved file has an .LKT file  name extension.

 The /A option will allow writing to the bottom of the file without deleting the existing information.

 If /T is provided, the data in the file will be transposed.  This option is not compatible with /E.

 If /N is provided, the column name and units will be written, followed by the data in the table. 

 If /E is provided, the file will be written in a format that can be read as a EES Lookup Table.  (Use /E /N to save all column information in an EES Lookup table).  

 

SaveVarInfo VarInfoFileName$

Save the variable information to the current .EES file, which includes the name, guess values, limits, display format, units and comments assigned for each variable.   VarInfoFileName$ should have a .VAR file name extension.  If no extension is provided or if the file name extension is something other than .VAR, it will be changed to .VAR.   The variable information file name can be a string constant (enclosed in single quotes) or a string variable (ending with a $ character) as shown.  If no file  name is provided, the file name will be created using the name of the EES file with a .VAR file name extension.  By default, variable information is saved only for the main program.  If the /A option is provided, variable information will also be saved for functions, procedures, subprograms, and modules that are in use.

 

See also:   EES file types

                 MacroCommands