Sign in Join
Wiki copytemporary

Revision 2 of 8, by Trev on 2-23-2020. The page as it is now.

pascal/de

Zurück zu den reservierten Wörtern.

Der Modifier pascal gehört zu den Aufrufkonventionen von internen und externen Unterprogrammen.

Der Modifier pascal wird dazu verwendet um eine Funktion nach der klassischen Pascal-Typaufrufkonvention aufzurufen.

Beispiel 1:

pascal
function subTest: string; [pascal];
begin
  subTest := 'abc';
end;

Beispiel 2:

pascal
function funcTest(strTestdaten: Pchar) : LongWord; pascal;  external 'Test.dll';

From the Free Pascal wiki, page "pascal/de", 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.