On Tue, Apr 1, 2014 at 11:09 AM, Juha Manninen
<juha.mannine...@gmail.com> wrote:
> Got "LongInt" expected "SmallInt"

I opened the example program in Lazarus for debugging it.
Lazarus project uses mode objfpc by default. Changing 2 variables from
Integer to SmalInt solved the compilation problem.
IMO the type should be corrected as debugging with Lazarus is often a good idea.

Juha
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to