Scripting Example 70

; *****************************************************

; Example70.ftp

; =============

; This example shows the use of "OnCloseGosub".

; This is command is made for you to be able to

; trigger a subroutine when the application closes,

; f.ex. if the user clicks close or cancel.

; This way you can f.ex. Hangup the line or do

; any other clean up as needed.

;

; ---

;

; -----------------------------------------------------------

; Commands demonstrated:

;

; OnCloseGosub

;

; Syntax:

; OnCloseGosub "<Subroutine>"

;

; -----------------------------------------------------------

; NOTE: You are be able to execute this example unchanged.

; ***********************************************************

 

OnCloseGosub _MyClose

 

EndScript

 

:_MyClose

Message "Thanks!"

Return