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