Sign in Join
Wiki copytemporary

External: what changed

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

OldNewLine
1-Back to [[Reserved words]].
2-
3-The **external** modifier:
1+Back to [[Reserved words]].
42
5-- belongs to the calling conventions for external subroutines (eg dynamically loaded libraries);
6-- allows access to an external subroutine.
3+
4+The **external** modifier:
75
8-Examples:
6+ * belongs to the calling conventions for external subroutines (eg dynamically loaded libraries);
7+ * allows access to an external subroutine.
98
10-``` pascal
11- ...
12- function funcTest(strTestData : Pchar) : LongWord; cppdecl; external 'Test.dll';
13- ...
9+
10+Examples:
1411```
15-
16-``` pascal
17- ...
18- function funcTest(strTestData : Pchar) : LongWord; cppdecl; external 'test.dylib';
19- ...
12+...
13+ function funcTest(strTestData : Pchar) : LongWord; cppdecl; external 'Test.dll';
14+ ...
2015```
16+```
17+...
18+ function funcTest(strTestData : Pchar) : LongWord; cppdecl; external 'test.dylib';
19+ ...
20+```
2121
2222---
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).*
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).*

Back to history