Class Type | Prefix | Notes |
Code | c |
|
File | f or F |
|
Menu | m |
|
Object | o |
|
Query* | q |
|
Remote Task | rt | |
Report | r | |
Schema | s |
|
Table* | t |
|
Task | none |
|
Toolbar | T_ | |
Window | w |
|
*Query class names should match the corresponding table class. E.g. tClient and qClient.
However, if is a parameter, local, or instance var that is meant to track a cope of a database SEQ key, then call it what it is. eg pM_SEQ means that the parameter we expect is an M_SEQ key. This helps with variable assignment.
All database names will be named using underscores and in UPPER_CASE to make an obvious differentiation between the database and other task/class/instance/local variables.
Scope / Type |
Prefix | Convention |
Task |
t |
|
Class |
c |
|
Instance |
i |
|
Local |
none | Developer preference, prefer myVariable rather than MyVariable. |
Parameter |
p |
|
Constant |
k |
|