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(13,37) Error: Incompatible types: got "Boolean" expected "LongInt"
foo.pas(14,23) Error: Incompatible types: got "Boolean" expected "LongInt"
foo.pas(23,9) Error: Illegal expression
foo.pas(24,9) Fatal: Syntax error, ";" expected but "FOR" found
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)