2.6.3. Finalizer function

[<<<] [>>>]

Finalizer function pointers are available for each command type. This way they are similar to command parameters. There can be many OPEN statements in a program they share a common finalizer pointer. Each finalizer pointer is initialized to NULL.

The code fragments may put a function entry address in the finalizer pointer. When the execution of a program is finished the executing function calls each function that has a non NULL pointer in the finalizer array.

The _r in the function name tells that this is a recursive function that may call itself when an expression evaluation performs a function or subroutine call.


[<<<] [>>>]