Chapter 3: Additional Macros for Writing UDFs