Skip to content

RADProgrammer Style Guide Capitalization

Darian Miller edited this page Mar 14, 2021 · 1 revision

Settings for: Capitalization

Note: RADProgrammer utilizes non-default settings for:

  • Capitalization of reserved words and directives

General

  • Capitalization of compiler directives: UPPER CASE Defines capitalization of compiler directives: {IFDEF}, {WARNINGS *}, {$STACKCHECKS *}, and others

    • As is - preseves cases of all characters
    • lower case - convert all compiler directives to lower case
    • UPPER CASE - convert all compiler directives to UPPERCASE (Default)
    • First Character In Upper Case - set the first character in names of compiler directives to Uppercase and preserve case of all other characters
    • As first occurrence in the file
  • Capitalization of numbers: UPPER CASE Defines capitalization of letters used in hexadecimal ($Fa) and float (1.23e-8) numbers, including characters in prefixes and suffixes.

    • As is - preseves cases of all characters
    • lower case - convert all to lower case
    • UPPER CASE - convert all to UPPERCASE (Default)
    • First Character In Upper Case - set the first character to Uppercase and preserve case of all other characters
    • As first occurrence in the file
  • Capitalization of other words: As first occurrence (Note: Identifiers in program and unit statements are always capitalized with As is option)

    • Defines how to capitalize words that do not belong to the following (such as method names):

      • reserved words - if, then, array, and others
      • directives - abstract, automated, and others
      • compiler directives - ($IFDEF}, {$WARNINGS *} and others
      • numbers - hexadecimal or float numbers containing letters ($Fa), (1.23e-8)
    • As is - preseves cases of all characters

    • lower case - convert all to lower case

    • UPPER CASE - convert all to UPPERCASE

    • First Character In Upper Case - set the first character to Uppercase and preserve case of all other characters

    • As first occurrence in the file (Default)

  • Capitalization of reserved words and directives: lower case Defines capitalization of reserved words (if, then, array, and others) and directives (abstract, automated, and others)

    • As is - preseves cases of allcharacters (Default)
    • lower case - convert all to lower case
    • UPPER CASE - convert all to UPPERCASE
    • First Character In Upper Case - set the first character to Uppercase and preserve case of all other characters
    • As first occurrence in the file

Note: Configuration text reproduced directly from RAD Studio, Copyright (C) 2021 Embarcadero Technologies, Inc. No claim made of ownership made, reproduced here under Fair Use purposes only.