pascal
Bahasa Indonesia · Deutsch · English · Español · Français · Italiano · Português · Suomi
Back to Reserved words.
The pascal modifier:
- belongs to the calling conventions of internal and external subroutines;
- is used to call a function according to the classic Pascal type calling convention.
Example 1:
function subTest : string; [pascal];
begin
subTest := 'abc';
end;Example 2:
function funcTest(strTestData : Pchar) : LongWord; pascal; external 'libTestLibrary.dylib';From the Free Pascal wiki, page "pascal", as it stood on 2020-02-23 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.