[error] sortthds.pas(67): e2396 unsafe code only allowed in unsafe procedure
[error] sortthds.pas(109): e2396 unsafe code only allowed in unsafe procedure
[fatal error] thsort.pas(39): f2063 could not compile used unit 'sortthds.pas'
琭在有一個聲明為point未知類型變量.這行令人不快的代碼如下:
procedure paintline(canvas: tcanvas; i, len: integer);
begin
canvas.polyline([point(0, i * 2 + 1), point(len, i * 2 + 1)]);
end;