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
forward
overload
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
cDecl
cppDecl
interrupt
oldFpcCall
pascal
register
safeCall
saveRegisters
stdCall
varArgs
(in conjunction withcDecl
)winApi
routine behavior hints
IOCheck
noReturn
position
optimization requests
other
assembler
softFloat
properties
default
index
noDefault
read
stored
write
object-oriented programming
access modifiers
private
protected
public
published
strict
(only in combination with one of the four visibility specifiers listed above)
virtual methods
abstract
dynamic
override
reintroduce
virtual
classes
enumerator
static
implements
message
miscellaneous
loops
generics
generic
specialize
libraries
memory
bitpacked
unaligned
type helpers
helper