Free Pascal Compiler version 3.0.0 [2015/11/16] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling foo.pas
foo.pas(7,7) Note: Local variable "j" not used
foo.pas(30,4) Error: Incompatible types: got "ShortInt" expected "Array[0..21] Of Array[0..21] Of LongInt"
foo.pas(33,5) Error: Operator is not overloaded: "Array[0..21] Of Array[0..21] Of LongInt" + "Array[0..21] Of Array[0..21] Of LongInt"
foo.pas(43,4) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\3.0.0\bin\i386-win32\ppc386.exe returned an error exitcode