About the author
What is the difference in the code shown below in Delphi 7, and Delphi 8?
program
Project2;
{$APPTYPE CONSOLE}
uses
SysUtils;
type
TSome =
procedure
of
object
;
TSomeObj =
class
private
FOnSome: TSome;
MySome1;
public
DoSome;
property
OnSome: TSome read FOnSome
write
FOnSome;
end
{ TSomeObj }
TSomeObj
.
begin
if
Assigned(FOnSome)
then
OutsideSome1;
var
SomeObj: TSomeObj;
SomeObj := TSomeObj
Create;
SomeObj
OnSome := OutsideSome1;