[fpc-other]How can I change the variable value?

Jonas Maebe Jonas.Maebe@rug.ac.be
Fri, 16 Nov 2001 17:55:51 +0100 (MET)


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?

Use "div" instead of "/", that will give you an integer result.


Jonas