Free Pascal Compiler version 2.6.4 [2014/03/06] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling foo.pas
foo.pas(10,7) Warning: Variable "a" does not seem to be initialized
foo.pas(13,14) Warning: Variable "max" does not seem to be initialized
foo.pas(18,24) Error: Illegal expression
foo.pas(31) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\2.6.4\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)