rad studio10.3 businessskin编译通不过(delphi)
编译时,显示[dcc32 Error] bspngimage.pas(1632): E2064 Left side cannot be assigned to,代码如下:
procedure TbsPngLayerIDAT.CopyInterlacedRGB8(const Pass: Byte;
Src, Dest, Trans, Extra: pChar);
var
Col: Integer;
begin
Col := ColumnStart[Pass];
Dest := pChar(Longint(Dest) + Col * 3);
repeat
Byte(Dest^) := fOwner.GammaTable[pByte(Longint(Src) + 2)^]; inc(Dest); //通不过
Byte(Dest^) := fOwner.GammaTable[pByte(Longint(Src) + 1)^]; inc(Dest); //通不过
Byte(Dest^) := fOwner.GammaTable[pByte(Longint(Src) )^]; inc(Dest); //通不过
inc(Src, 3);
inc(Dest, ColumnIncrement[Pass] * 3 - 3);
inc(Col, ColumnIncrement[Pass]);
until Col >= ImageWidth;
end;
是说const不能赋值?