Appendix R - Registering Special Functions

You may register your own functions or subroutines to be called either between each event, or at simulation exit.