Frank Heckenbach wrote:
const r = 1000000; pop_max = 750000; max = 10000; sex = 0.5; fec = 1000000; ferti = 0.8;
If you declare larves as `LongInt' which has a larger range than `Integer' (-2^63 .. 2^63-1), it should work. If that's still not enough for you, you can look at the GMP unit...
Depending on what you are doing, some of your "integer" constants might also be `Real's. When that's the case for one of the constants, just add `.0' to the declaration, e.g.: const r = 1000000.0; Calculations with `Real' numbers are not exact but approximated by the CPU, and you cannot "count" with them. But they can be much larger (or much closer to zero while still nonzero) than `Integer' numbers. Hope this helps, Peter -- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-20000717 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: http://www.gerwinski.de/pubkeys/ - AntiSpam: http://spam.abuse.net