Professional Documents
Culture Documents
Visual Basic Naming Conventions Naming Conventions For Constants and Variables
Visual Basic Naming Conventions Naming Conventions For Constants and Variables
The identifiers of constants and variables should be descriptive and in mixed case, using capital letters for the beginning of each word, with no spaces between the words. Identifiers should have an all-lowercase prefix that indicates the t pe of data stored.
T pe
Boolean Currenc "ouble Integer #ong $ingle $tring %ser-defined
!refix
bin cur dbl int lng sng str udt
'b&ect
chec- box combo box command button common dialogue data ob&ect director list drive list file list frame form image label line list box multimedia '#( option button picture box shape text box timer
!refix
chk cbo cmd cdl dat dir drv fil fra frm img lbl lin lst mmc ole opt pic shp txt tmr