next up previous contents index
Next: Parameter lists Up: Using functions and procedures Previous: Procedure declaration

Function declaration

A function declaration defines an identifier and associates it with a block of code. The block of code will return a result. The function can then be called inside an expression, or with a procedure statement.


Function declaration

syntdiag4030

syntdiag4034

syntdiag4038

next up previous contents index
Next: Parameter lists Up: Using functions and procedures Previous: Procedure declaration

Michael Van Canneyt
Fri Sep 25 09:15:40 MEST 1998