Naming Package Variables

Because each package requires a unique custom variable name, it's a good idea to establish a naming convention for your package variables. (A naming convention is a set of rules that you follow when forming a name for something.) We recommend that you use the following naming convention for your package variables:

%<prefix><package name>%

In other words, begin each package variable with a prefix like %Package or %Package_ followed by the name of the package and a percentage sign. If the package name contains spaces, either remove them or replace them with underscores (_).

For example, if the package name is "Extra Help Files", a good name for the package variable would be something like %PackageExtraHelpFiles% or %Package_Extra_Help_Files%.

Forming a variable name based on the name of the package not only makes it easier to come up with appropriate names, it makes it easier to determine what variable name was used for an existing package.

NOTE

 

Using numbers to make variable names unique isn't recommended; it's difficult to know at a glance what package a variable name like %Package1234% represents.

Whichever naming convention you adopt, the most important thing is to name your package variables consistently throughout your project.

 

See Also: Packages, Packages dialog