modifier
English · Esperanto · Français · Suomi
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:
deprecatedexperimentalplatformunimplemented
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
IOChecknoReturn
position
optimization requests
other
assemblersoftFloat
properties
defaultindexnoDefaultreadstoredwrite
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
enumeratorstaticimplementsmessage
miscellaneous
loops
generics
genericspecialize
libraries
memory
- bitpacked
unaligned
type helpers
helper
see also
From the Free Pascal wiki, page "modifier", as it stood on 2021-01-28 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
