Sign in Join
Wiki copytemporary

External: what changed

Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
1-Back to [[Reserved words]].
1+Back to [[Reserved words]].
22
3-
4-The **external** modifier:
3+The **external** modifier:
54
6- * belongs to the calling conventions for external subroutines (eg dynamically loaded libraries);
7- * allows access to an external subroutine.
5+- belongs to the calling conventions for external subroutines (eg dynamically loaded libraries);
6+- allows access to an external subroutine.
87
9-
10-Examples:
11-```
12-...
13- function funcTest(strTestData : Pchar) : LongWord; cppdecl; external 'Test.dll';
14- ...
15-```
8+Examples:
9+
10+``` pascal
11+ ...
12+ function funcTest(strTestData : Pchar) : LongWord; cppdecl; external 'Test.dll';
13+ ...
1614```
17-...
18- function funcTest(strTestData : Pchar) : LongWord; cppdecl; external 'test.dylib';
19- ...
15+
16+``` pascal
17+ ...
18+ function funcTest(strTestData : Pchar) : LongWord; cppdecl; external 'test.dylib';
19+ ...
2020```
2121
2222---
23-*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](/wiki-contact).*
23+*From the Free Pascal wiki, page "External", as it stood on 2020-02-14 after a change by Trev, 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](/wiki-contact).*

Back to history