Here is an example of a global function. It counts the total number of OMR boxes that are enabled on the entire form. Since it never directly references a zone, it is a good candidate for a global function. All zones are accessed dynamically through the Form.Zone() method.