In a library written FPC there is a property like:
TClipper = class(TClipperBase)
private
FZFillCallback : TZFillCallback;
public
property ZFillFunction: TZFillCallback read FZFillCallback write
SetZFillCallback;
end;
procedure TClipper.SetZFillCallback(AValue: TZFillCallback);
begin
if not Assigned(FZFillCallback) then
FZFillCallback:=AValue;
end;
When accessing SetZFillCallback I see that FZFillCallback is not
assigned and thus
FZFillCallback:=AValue; is executed.
Investigating the assignment before and after reveals that the value of FZFillCallback is not changed. HOW COME???
