procedure display;inline;
begin
showmessage('sakthi');
end;
procedure TFrmInline.BtnDisplayClick(Sender: TObject);
begin
display;
end;
In this program if i compile it shows the error that "declaration expected but inline found".
Delphi 7 has no support for the inline
keyword and will not inline functions.
The inline keyword was added in Delphi 2005: https://stackoverflow.com/a/8460108/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With