procedure display;inline;
begin
showmessage('sakthi');
end;
procedure TFrmInline.BtnDisplayClick(Sender: TObject);
begin
display;
end;
In this program, if I compile it, an error is displayed in which "the advertisement is expected but found in the string".
source
share