External

From Free Pascal wiki
Revision as of 23:34, 14 February 2020 by Trev (talk | contribs) (English translation of German page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Deutsch (de) English (en)


Back to Reserved words.


The external modifier:

  • belongs to the calling conventions for external subroutines (eg dynamically loaded libraries);
  • allows access to an external subroutine.


Examples:

  ...
   function funcTest(strTestData : Pchar) : LongWord; cppdecl; external 'Test.dll';
  ...
  ...
   function funcTest(strTestData : Pchar) : LongWord; cppdecl; external 'test.dylib';
  ...