[fpc-other]How can I change the variable value?
Noah silva
nsilva@atari-source.com
Fri, 16 Nov 2001 13:11:13 -0500 (EST)
you have to use DIV instead of a /.
Think about it:
for example: 15 / 2 isn't an integer, even though 15 and 2 are both
integers.
On Fri, 16 Nov 2001, Du xiaobo wrote:
> When I tried to perform the function of dividing one INTEGER:20 by
> another INTEGER:10, I always got the statment that the result is in REAL
> type instead of INTEGER as expected. what happened and How can I change
> the setting?
> Thanks in advance!
>
>
> _______________________________________________
> fpc-other maillist - fpc-other@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-other
>