The first three characters of VPM Enterprise memory variable names identify the variable’s source, scope and type.
Unlike some other naming conventions, VPM Enterprise memory variable names are not preceded by “m.” unless the variables were created by a SCATTER MEMVAR.
First Character - Source
The first character of all VPM Enterprise system memory variable names begins with a lowercase “s”.
System memory variables are the memory variables that VPM Enterprise puts into an application. You should not normally need to change a system variable in any way.
Tip: If you need to use memory variables, begin the names of your memory variables with something other than “s” so that they will be easy to distinguish from VPM Enterprise variables.
Second Character - Scope
The second character of a VPM Enterprise memory variable’s name identifies its scope. The second character is either a lowercase l, g, r or t (local, global, regional or parameter).
Third Character - Type
If a VPM Enterprise memory variable’s type is fixed, the third character of the variable’s name identifies its type. The character is either a lowercase l, d, t, c, a, n or o (logical, date, datetime, character, array, numeric or object).
Remaining Characters - Description
The remaining characters in a VPM Enterprise memory variable’s name describe the variable. The description can be made up of more than one word with the first character of each word uppercase and succeeding characters lowercase. For example, a memory variable that contains a person’s last name might be named “slcLastName”.