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(2,6) Error: Identifier not found "a"
foo.pas(2,8) Error: Identifier not found "b"
foo.pas(4,12) Error: Identifier not found "a"
foo.pas(5,5) Error: Procedures cannot return a value
foo.pas(6,12) Error: Identifier not found "b"
foo.pas(6,14) Error: Procedures cannot return a value
foo.pas(7,4) Fatal: Syntax error, "." expected but ";" found
Fatal: Compilation aborted
Error: C:\FPC\3.0.0\bin\i386-win32\ppc386.exe returned an error exitcode