Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

quit

The quit instruction terminates script instructions.

Synopsis

quit([ value ])

Description

The quit instruction specifies the intentional termination of a script. A dipterm instruction may be defined before using quit, but it is not necessary for quit to execute. If dipterm is defined, an optional argument can be used. This optional argument is an integer defined by the script writer. It is sent to the DIP specified in dipterm and is usually used to notify the DIP why the script has quit.

Example

In the following example, TSM is instructed to send a termination message to DIP 0 when the script terminates. The script then executes the quit instruction, ending the script.

dipterm(0)
quit( )

See also

© 2006 Avaya Inc. All Rights Reserved.