Hallo allemaal,
In onderstaand fragment is de vraag moet Result in de
Function A niet vrij worden gegeven en zo ja hoe dan wel?
Code:Function A(Tx,Ty : Integer) : TBGRABitmap; begin Result := TBGRA.Create(Tx,Ty); ... Result : InvalidateBitmap; end; Function B(Tx,Ty : Integer) : TBGRABitmap; begin Result := A(Tx,Ty); end;
Bookmarks