Language Guide
CHAPTER 4
Commands
Command Definitions 87
Close application command4
A Close command is a request to close one or more objects.
SYNTAX
close referenceToObject [ saving in referenceToFile ] [ saving saveOption ]
PARAMETERS
referenceToObject
A reference to the object or objects to close.
Class: Reference
referenceToFile A reference of the form file nameString or alias nameString
(see “Notes”).
Class: Reference
Default value: The file in which the object was last saved. If the
object hasn’t been saved before, the application creates a file
with the specified name in the current directory.
saveOption A parameter that specifies whether to save an object that has
been modified before closing it. The constant yes specifies that
the object must be saved. The constant no specifies that the
object must not be saved. The constant ask specifies that the
user must be asked whether or not to save the object.
Class: Constant
Default value: The default value is ask, unless you specify a
file in which to save the object, in which case the default value
is yes.
RESULT
None