Save application commandA Save command is a request to save an object or objects.
SYNTAXsave referenceToObject [ in referenceToFile ]
- A reference to the object or objects to be saved.
- A reference of the form
aliasnameString that specifies the file in which to save the objects (see "Notes").
Default value: The file in which the object was last saved. If
the object has not been saved before, the application creates a new file.
EXAMPLEsave document "Stupendous" in file "Elephantine"
NOTESTo specify the name (nameString) of a file in which to save the specified object or objects, use a string of the form
"Disk:Folder1:Folder2:...:Filename"; for details, see "References to Files," which begins on page 144. You can also specify a string with only a filename ("Filename"). In this case, the application attempts to find the file in the current directory.
If you use the form
filenameString and the specified file is not present in the specified location, the application creates a file with the specified name in that location. If you use the form
aliasnameString and the specified file is not present in the specified location, the script won't compile.