ENDFUNCTIONS        End function declaration section

Top  Previous  Next

Syntax:

ENDFUNCTIONS

 

Arguments:

None

 

Options:

None

 

 

 

This script directive is used to end the function declaration section of a script file. A function declaration section must be at the beginning of the script file (before any functions are called) and must not be used in any script file invoked with a CALL script command.

 

Consider the following examples.

 

BEGINFUNCTIONS

FUNCTION MyFunction

;; body of MyFunction

ENDFUNCTION

ENDFUNCTIONS

 

Related Command(s): BEGINFUNCTIONS, ENDFUNCTION, FUNCTION, RETURN