Hi,
I’ve created Array with NullableInteger as Element Type
My generated _Intf.pas has code (RO ver 10.0.0.1613):
function NullableIntegerArray.IndexOf(const aValue: NullableInteger; const aStartFrom: Integer = 0): Integer;
var
lResult: Integer;
begin
for lResult := aStartFrom to fCount - 1 do
if fItems[lResult] = aValue then begin
Exit(lResult);
end;
Exit(-1);
end;
Compiling error for fItems[lResult] = aValue:
[dcc32 Error] E2015 Operator not applicable to this operand type
Is it possible add to Nullable Records in uRONullable additional operator Equal
class operator Equal(const a, b: NullableInteger): Boolean;
