Secondly Miriad tasks should use the maxdim.h include file where appropriate. This include file defines a parameter, maxdim, which gives the maximum image dimension that a task should be prepared to accept. Currently this is set to 4096, but by using maxdim to define needed storage, it should be reasonably easy to rebuild all Miriad tasks to handle larger images. The include file also defines a parameter maxbuf, which is a guide to the maximum amount of internal data storage that a program should contain.
Despite the encouragement to use this include file, programmers are generally discouraged from using include files and common blocks. This is far from a strict rule. Avoid them if you can.
See Chapter 3 for a description of some utilities which simplify the development of code.