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(34,2) Error: Operator is not overloaded: inc "num"
foo.pas(34,2) Error: Incompatible types: got "untyped" expected "num"
foo.pas(48,2) Error: Operator is not overloaded: dec "num"
foo.pas(48,2) Error: Incompatible types: got "untyped" expected "num"
foo.pas(62,2) Error: Operator is not overloaded: dec "num"
foo.pas(62,2) Error: Incompatible types: got "untyped" expected "num"
foo.pas(76,2) Error: Operator is not overloaded: inc "num"
foo.pas(76,2) Error: Incompatible types: got "untyped" expected "num"
foo.pas(93,2) Error: Operator is not overloaded: inc "num"
foo.pas(93,2) Error: Incompatible types: got "untyped" expected "num"
foo.pas(94,10) Error: Operator is not overloaded: "num" div "LongInt"
foo.pas(94,2) Error: Incompatible types: got "untyped" expected "num"
foo.pas(95,7) Error: Operator is not overloaded: "num" mod "LongInt"
foo.pas(207,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