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(8,3) Note: Local variable "j" not used
foo.pas(40,3) Note: Local variable "j" not used
foo.pas(40,5) Note: Local variable "k" not used
foo.pas(74,8) Error: Identifier not found "maxl"
foo.pas(81,6) Error: Identifier not found "maxl"
foo.pas(91) 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