previous next Up Title Contents

Routine Names

The module routines follow a generic naming convention. This ensures that a module's routines can always be identified, and it also allows meaningful re-usable routine names. The naming convention is illustrated in figure [26].

Figure [26]: Routine-naming in the CRL Example:

	ReadPars_PureTone_2(...);
	RunModel_HairCell_Meddis86(...);

In circumstances where the "Function" and "Module" names are the same, the "Specific Reference" will distinguish one function from another. The module names will always identify a routine's generic family. It is not the same as the module file name, which is prefixed by the first two letters of the group. Thus the "StPTone" and "StPTone2" files from the stimulus group both belong to the "PureTone" family. These routines are distinguished by the "Specific Reference" field, i.e.

	ReadPars_PureTone_1(...);	and
	ReadPars_PureTone_2(...);


previous next Up Title Contents