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(16,4) Error: Incompatible types: got "LongInt" expected "Array[0..5000] Of Array[0..5000] Of LongInt"
foo.pas(21,20) Error: Operator is not overloaded: "LongInt" - "Array[0..5000] Of LongInt"
foo.pas(23,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