Scope: managed applications, mobile applications, and ordinary applications.
1. To name a variable, use conventional terms related to the respective subject area so that the variable's name would be descriptive and convey its purpose to the reader.
2. Variable names mustn't contain spaces, even when it is composed of a few words. Each word in a variable name starts with a capital letter, including pronounces and prepositions.
Var DirectoryActionsDialogBox; // A dialog box to manage directories. VarItemsInBox; // The number of items in a box.
arrayofattributes, respKindName, newStr.
4. Variable names must contain more than one character, except for loop counters. It is allowed to assign loop counters with single-character names.
5. Name Boolean variables so that the name would convey the true state of the variable.
Var HasErrors; // Indicates whether the procedure contains errors. Var IsPackageItem; // Indicates whether the item is a package.