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