foo.pas(8,7) Error: Can't read or write variables of this type
foo.pas(14,5) Warning: Variable "a" does not seem to be initialized
foo.pas(14,6) Error: Operator is not overloaded: "Array[0..1000] Of Array[0..1000] Of LongInt" > "ShortInt"
foo.pas(14,16) Error: Operator is not overloaded: "Array[0..1000] Of Array[0..1000] Of LongInt" + "LongInt"
foo.pas(14,52) Error: Operator is not overloaded: "Array[0..1000] Of Array[0..1000] Of LongInt" + "LongInt"
foo.pas(26,4) Fatal: There were 4 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\2.6.0\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)