The following guidelines describe the standard capitalization of various language elements. Although dBL is not a case-sensitive language, you are encouraged to follow these guidelines in your own scripts.

Commands and built-in functions are shown in uppercase in descriptions so that they stand out, but are all lowercase in code examples.

Class names start with a capital letter. Multiple-word class names are joined together without any separators between the words, and each word starts with a capital letter. For example,

Form

PageTemplate

Property, event, and method names start with a lowercase letter. If they are multiple-word names, the words are joined together without any separators between the words, and each word (except the first) starts with a capital letter. They also appear italicized in the Language Reference. For example,

color

dataLink

showMemoEditor( )

Variable and function names are capitalized like property names.

Manifest constants created with the #define preprocessor directive are all uppercase, with underscores between words. For example,

ARRAY_DIR_NAME

NUM_REPS

Field names and table names from DBF tables are in all uppercase in code so that they stand out.