[fpc-pascal]more error text in some cases

Jonas Maebe jonas at zeus.rug.ac.be
Wed Jul 24 15:48:27 CEST 2002


On Wed, 24 Jul 2002, Lee, John wrote:

> There are 1 or 2 errors run time (such as this one) and some compiler
> errors, that often come up & get answered by the developers... would it be
> worth expanding the error messages eg in v11 in these cases to give 'hints'
> on a new line eg in this case 'hint: filemode may be set to read/write, try
> filemode=0' or whatever...

I think this would soon make the hints totally unusable, since there would
be a lot of hints and most would be irrelevant (e.g. it's quite possible
that the programmer intends to open the file as read/write).

>Is there a limit on the error message length?

Not really (there is one, but it can be changed by simply chamging a
constant)


Jonas





More information about the fpc-pascal mailing list