modifier

From Free Pascal wiki
Jump to navigationJump to search

English (en) Esperanto (eo) suomi (fi) français (fr)

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

allocation

routines

hint directives

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

calling convention

routine behavior hints

  • IOCheck
  • noReturn

position

optimization requests

other

  • assembler
  • softFloat

properties

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

object-oriented programming

access modifiers

virtual methods

classes

  • enumerator
  • static
  • implements
  • message

miscellaneous

loops

generics

  • generic
  • specialize

libraries

memory

type helpers

  • helper

see also