VB6 Variable Naming Convention
Variable and Control Prefixes
Prefix | Variable/Control | Example |
b | Boolean | bLightsOn |
byt | Byte | bytRasterData |
c | Currency | cAmountDue |
d | Double | dDollarPerGallon |
dt | Date+time | dtDateDue |
i | Integer | iCounter |
l | Long | lNum |
str | String | strMessage |
s | Single | sPay |
a | Array | a_iMyArray |
obj | Object | objCurrent |
g | Global | g_iTotal |
m | Module | m_iAmount |
Bibliography
Visual Basic Programmer's Reference;Rod Stephens;Wiley
Using Visual Basic 6; Rob Reselman;Que Pearson Education
Beginning Visual Basic 6 Database Programming;John Connell;Apress
Tidak ada komentar:
Posting Komentar