Modifier

Modifiers are keywords modifying the standard behavior of a Pascal language construct, although some modifiers merely serve the purpose of being a hint to the compiler.

declaration modifiers

edit

allocation

edit

routines

edit

hint directives

edit

If {$modeSwitch hintDirectives+}, the following hint modifiers are available too:

  • deprecated
  • experimental
  • platform
  • unimplemented

These “modifiers” actually have no effect on the generated code, but can be promoted to errors using {$warn} (so, for example, in order to ensure deprecated functionality is not used in a release version).

call modifiers

edit

calling convention

edit

routine behavior hints

edit
  • IOCheck
  • noReturn

position

edit

optimization requests

edit

other

edit
  • assembler
  • softFloat

properties

edit
  • default
  • index
  • noDefault
  • read
  • stored
  • write

object-oriented programming

edit

access modifiers

edit

virtual methods

edit

classes

edit
  • enumerator
  • static
  • implements
  • message

miscellaneous

edit

loops

edit

generics

edit
  • generic
  • specialize

libraries

edit

memory

edit

type helpers

edit
  • helper

see also

edit