Forward Functions (Advanced)

Top  Previous  Next

Forward declarations can also be made for functions. The form is:

 

        ffunction TYPE NAME(COMMENT), ... NAME(COMMENT);

 

Forward-function declarations are similar to forward-procedure declarations with the exception that functions must be typed. The type is either "integer", "real", or none. (See: Functions.) For example:

 

        ffunction real Sinh, Cosh, Tanh;