Banner advertising on our site currently available from just $5!
Game Development Dictionary
A list of suggested prefixes to variable and function names created by Charles Simonyi. There are different versions for both Visual Basic and Visual C++. VC++: b - boolean operator by - byte (unsigned char) c - char cx / cy - size stored in a short dw - DWORD; double word, unsigned long fn - function h - handle i - integer l - long n - short int p - pointer s - string sz - ASCIIZ string terminated with a zero (null-terminated) w - WORD (unsigned int) x, y - short used as coordinates These can be combined in many cases. For instance, lpsz - long pointer to a null-terminated ASCII string. Visual Basic (almost all Visual Basic notations are three letters long): bln - Boolean chk - Check box cbo - Combo box cmd - Command button cur - Currency dtm - Date/Time (variant) dlg - Dialog Box (also used for common dialog control) dbl - Double (double-precision float) frm - Form fra - Frame hsb - Horizontal scroll bar img - Image box int - Integer lbl - Label lst - List box lng - Long mnu - Menu opt - Option (radio) button pic - Picture box shp - Shape or Line sng - Single str - String txt - Text box vnt - Variant vsb - Vertical scroll bar