The following naming conventions should be applied to variables:
Type |
Prefix |
Used for |
|
INT (32 bits) |
i |
index, loop counter |
|
INT (32 bits) and OBJECT (32 bits) |
h |
handle |
|
INT (32 bits) |
b |
boolean (TRUE/FALSE) |
|
REAL (64 bits) |
r |
real type variables |
|
STRING (255 bytes) |
s |
string type variables |
iTrendType, rPeriod,
sFileName
miTrendType, mrPeriod,
msFileName
giTrendType, grPeriod,
gsFileName
iTrendType, rPeriod,
sFileName
See Also
Using Cicode Programming Standards