foo.pas(22,4) Error: Incompatible types: got "LongInt" expected "Array[0..100] Of Array[0..100] Of LongInt"
foo.pas(28,11) Error: Incompatible type for arg no. 2: Got "Array[0..100] Of Array[0..100] Of LongInt", expected "LongInt"
foo.pas(29,25) Error: Operator is not overloaded: "Array[0..100] Of Array[0..100] Of LongInt" + "ShortInt"
foo.pas(29,39) Error: Operator is not overloaded: "Array[0..100] Of Array[0..100] Of LongInt" + "ShortInt"
foo.pas(35) Fatal: There were 4 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)