Share via


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

Concepts

Creating Visual FoxPro Names

Reference

Object Naming Conventions

Table Field Naming Conventions

Variable Naming Conventions

Window Naming Conventions

Other Resources

Naming Conventions