next up previous contents
Next: Source code file names Up: Naming conventions Previous: Global variable names   Contents

Global function names

Global functions, which are found mainly in the files utilities.C and Global.C, follow one of the following two rules:

  1. Functions in Global.C have the word VMD prepended, and contain no hyphens. Distinct words in the name begin with a capital letter, except the first word after the VMD prefix.
  2. Functions in utilities.C contain all lower case letters, and either contain no hyphens at all, or contain hypens to separate words.
VMDinitUI() (in Global.C)
time_of_day() ( in utilities.C)