| On Wed, 24 Jun 1998, jp wrote:
> Jean-Michel DARREMONT wrote:
[snip]
> > Is it possible to set the score PMAX to more than 5000 and how to do it?
[snip]
> change it in cs.h
> recompile
[snip]
On Wed, 24 Jun 1998 jpff@maths.bath.ac.uk wrote:
> One of those things on my list is to make this number flexible. Turns
> out to be harder that is reasonable! Will look again.
Yes, perhaps they are too hard coded to be made flexible. But in the
meantime, we could change all of these #define to (example):
#if !defined(PMAX)
# define PMAX 5000 /* whatever the number is now */
#endif /* !defined(PMAX) */
so that at least they are easily changeable at compile time. Should
make no difference whatsoever on the rest of the code. Pre-processor
checks can also be built to check for out-of-bounds or illegal values
if needed.
Ciao,
Nicola
------------------------------------------------------------------------
Nicola Bernardini
E-mail: nicb@axnet.it
Re graphics: A picture is worth 10K words -- but only those to describe
the picture. Hardly any sets of 10K words can be adequately described
with pictures.
|