Revision 2 of 3, by WikiArchive on 11-4-2026. The page as it is now.
External
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';
...From the Free Pascal wiki, page "External", as the Internet Archive kept it on 2024-03-04. 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.
