//静态数组做参数, 不能这样使用:
function MyFun(arr: array of Integer): Integer;
var
i: Integer;
begin
Result := 0;
for i in arr do Result := Result + i;
end;
//应该先把数组定义成一个类型
Typ ...……
Originallink: GamesDelphidevelopersplay DelphigamedevelopersarestupidpeoplehavingtoomanycopiesofoldDelphiversionsandnogame-development.Thisisthe most anticipatedresponseto……