Re: Turbo Pascal - Missing Semi-Colon at line 454
That sounds horribly accurate. There appear to be various regular stupidities in error messages:
The system knows exactly where the error is but the developer decided that this information is not something that the user should know.
The error message was written to describe the error, but only in a way that once you know what the error is, is the error message actually useful.
The developer couldn't be bothered to implement any error handling (because it requires thinking) and therefore just left everything to exceptions, including all the expected errors. As a result a user trying to open a locked file is responded to by informing them that the low level FileOpenEx function "did not have the correct parameter" or something equally useful.