Tonto | ||
---|---|---|
<< Previous | Next >> |
Here is a list of highly recommended conventions to be used in TONTO:
Only one module statement can be used per file.
Except for module names and preprocessor macros, lowercase is always used.
The name of module always ends in _MODULE.
The name of the derived type used in a module to represent the abstract data type has the same name as the module name followed by _type.
For every module, a macro with the same name as the module name is always defined, and expands to the actual type used and manipulated in that module.
The result syntax for a function routine is always used.
The name self is always used as the first dummy argument to any routine.