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(12,4) Warning: Variable "h" does not seem to be initialized
foo.pas(21,10) Error: Operator is not overloaded: not "Array[0..2000] Of Array[0..2000] Of Boolean"
foo.pas(23,9) Error: Incompatible types: got "Boolean" expected "Array[0..2000] Of Array[0..2000] Of Boolean"
foo.pas(25,9) Error: Incompatible types: got "Boolean" expected "Array[0..2000] Of Array[0..2000] Of Boolean"
foo.pas(29,4) Error: Incompatible types: got "Array[0..2000] Of Array[0..2000] Of Boolean" expected "Boolean"
foo.pas(35,4) Fatal: There were 4 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\3.0.0\bin\i386-win32\ppc386.exe returned an error exitcode