if this was ported to delphi and into wizzypluggin it might be nice...
SCAR Code:Function AverageIntegerArray(TIA: TIntegerArray): integer;
var
i, t :integer;
begin
t := High(TIA);
for i := 0 to t do
Result := Result + TIA[i];
Result := Round(Result / Length(TIA));
end;
~RM




















