Free Pascal Compiler version 2.6.4 [2014/03/06] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling foo.pas
foo.pas(23,16) Error: Incompatible types: got "Array[0..1005] Of Array[0..1005] Of LongInt" expected "LongInt"
foo.pas(28,19) Warning: Variable "mi" does not seem to be initialized
foo.pas(28,30) Error: Operator is not overloaded: "LongInt" + "Array[0..1005] Of LongInt"
foo.pas(28,45) Error: Operator is not overloaded: "LongInt" + "Array[0..1005] Of LongInt"
foo.pas(28,60) Error: Operator is not overloaded: "LongInt" + "Array[0..1005] Of LongInt"
foo.pas(31,4) Fatal: There were 4 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\2.6.4\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)