Standard routine prototype to initialize a mode.
Source position: graphh.inc line 570
type initmodeproc = procedure;