Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-07

RE: more error text in some cases

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lee, John

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... Is there a limit on the error message length?

Just an idea.... J

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

Reply by email

Jonas Maebe
to Lee, John
John wrote 5 lines
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

Reply by email