More Procedural Facts
Procedures can be declared in any order, but they must at least be prototyped before they are referenced
A ZPL program begins with a program statement
There must be a procedure with the identical name as the program; the procedure is the entry point (main)
Notice that global state information is typically defined as global variables rather than as variables “passed in” to each procedure