Constant Naming Conventions

When naming constants, use the following format.

NAME

Parameters

  • NAME
    Specifies the name of the constant in uppercase characters.

Example

The following example illustrates using the #DEFINE preprocessor directive with the name of the constant MAX_VALUE in uppercase characters:

#DEFINE MAX_VALUE 10

See Also

Reference

Object Naming Conventions
Table Field Naming Conventions
Variable Naming Conventions
Window Naming Conventions

Concepts

Creating Visual FoxPro Names

Other Resources

Naming Conventions