![]() |
Re: function->tfunction
Meiner Erinnerung nach erfordert Delphi bei Funktionszeigern das @.
|
Re: function->tfunction
nein, das erfordert Lazarus/GreePascal.
Wenn das Ziel eine Funktionsvariable oder ein Funkctionsparameter ist, dann weiß Delphi schon, daß man da den Zeiger übergeben will. |
Re: function->tfunction
also das
Zitat:
|
Re: function->tfunction
ok, "params" ist in diesem Falle nur ein Platzhalter für die Parameter deiner Wahl...
|
Re: function->tfunction
An diese Stelle wäre die/deiner Parameterliste, welche ich der Übersichtlichkeit halber wegließ
und mir dachte das versteht man schon, was da hin soll :oops: z.B.
Delphi-Quellcode:
oder
// Einzelfunktion
tfunction = function(irgendwas: byte; private: Integer): result; // Methode tmethod = function(irgendwas: byte): result of object;
Delphi-Quellcode:
uswusf.
// Einzelfunktion
tfunction = function(irgendwas: byte; nochwas: pointer; private: Integer): result; // Methode tmethod = function(irgendwas: byte; nochwas: pointer): result of object; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:20 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz