This section provides an alphabetical list of all the methods available in Director.
abort
Usage
--Lingo syntax
abort
// JavaScript syntax
abort();
Description
Command; tells Lingo to exit the current handler and any handler that called it without
executing any of the remaining statements in the handler. This differs from the
which returns to the handler from which the current handler was called.
The
command does not quit Director.
abort
Parameters
None.
Example
This statement instructs Lingo to exit the handler and any handler that called it when the amount
of free memory is less than 50K:
-- Lingo syntax
if the freeBytes < 50*1024 then abort
// JavaScript syntax
if (_player.freeBytes < 50*1024) {
abort()
}
See also
exit, halt(),
quit()
CHAPTER 12
Methods
keyword,
exit
227
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers