foo.pas(15,4) Error: Incompatible types: got "Int64" expected "arr"
foo.pas(16,4) Error: Incompatible types: got "Int64" expected "arr"
foo.pas(47,7) Error: Can't read or write variables of this type
foo.pas(52,6) Warning: Variable "sum" does not seem to be initialized
foo.pas(52,9) Error: Operator is not overloaded: "arr" + "arr"
foo.pas(57,11) Error: Incompatible type for arg no. 2: Got "arr", expected "Int64"
foo.pas(60,11) Error: Incompatible type for arg no. 2: Got "arr", expected "Int64"
foo.pas(67,4) Fatal: There were 6 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\2.6.2\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)