BEGINFUNCTIONS Begin function declaration section |
Top Previous Next |
This script directive is used to mark the beginning of a 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
BEGINFUNCTIONS FUNCTION MyFunction1 ;; body of MyFunction1 ENDFUNCTION FUNCTION MyFunction2 ;; body of MyFunction2 ENDFUNCTION ENDFUNCTIONS
Related Command(s): ENDFUNCTION, ENDFUNCTIONS, FUNCTION, RETURN
|