Interface support?
Hello,
FastScript looks great... Does it support interface definitions?
IUser = interface
function GetName: string;
function GetAge: integer;
procedure SetName(const Value: string);
procedure SetAge(const Value: integer);
property Name: string read GetName write SetName;
property Age: integer read GetAge write SetAge;
end;
TUser = class(TInterfacedObject, IUser);
....
Now i only want to register the interface with it??s funtions but not the class. Is this possible?
Best regards
Sebastian
FastScript looks great... Does it support interface definitions?
IUser = interface
function GetName: string;
function GetAge: integer;
procedure SetName(const Value: string);
procedure SetAge(const Value: integer);
property Name: string read GetName write SetName;
property Age: integer read GetAge write SetAge;
end;
TUser = class(TInterfacedObject, IUser);
....
Now i only want to register the interface with it??s funtions but not the class. Is this possible?
Best regards
Sebastian
Comments
I don't want to set you under pressure, but i need this information before 15th of January (20 % discount).
Thanks
=[EDIT]=
Yes, it works...