foo.pas(13,4) Error: Incompatible types: got "ShortInt" expected "Array[1..1000] Of Array[1..1000] Of SmallInt"
foo.pas(22,21) Error: Incompatible types: got "ShortInt" expected "Array[1..1000] Of SmallInt"
foo.pas(26,6) Error: Operator is not overloaded: "Array[1..1000] Of Array[1..1000] Of SmallInt" = "ShortInt"
foo.pas(26,16) Error: Operator is not overloaded: "Array[1..1000] Of Array[1..1000] Of SmallInt" = "ShortInt"
foo.pas(26,29) Error: Operator is not overloaded: "Array[1..1000] Of SmallInt" + "ShortInt"
foo.pas(27,6) Error: Operator is not overloaded: "Array[1..1000] Of Array[1..1000] Of SmallInt" = "ShortInt"
foo.pas(27,16) Error: Operator is not overloaded: "Array[1..1000] Of Array[1..1000] Of SmallInt" = "ShortInt"
foo.pas(27,29) Error: Operator is not overloaded: "Array[1..1000] Of SmallInt" + "ShortInt"
foo.pas(46,4) Fatal: There were 8 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)