On Fri, 14 Jul 2017 11:19:53 -0400 <[email protected]> wrote:
>[...] > >Last_GS:=G_End-(longint(Max_Program_To_Display)-1); > This aso fixes the warning if I leave all my variables alone. If I > understand this correctly in this case longint() is a function that returns a > longint variable to be used in the calculation, so when it does the -1 it's > ok it that part of the formula ends up being negative. longint is type. longint() is a typecast. Mattias _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
