Silverfrost Forums

Welcome to our forums

System error messages

6 Oct 2006 8:06 #1123

A lot of system routines return kind = 2 error messages, which can be translated into an error message using the system routine dos_error_message@. But at least one system routine (fexists@ is the one that prompts the question) returns a kind = 3 error message. How to deal with kind = 3 error codes? (I am presuming the answer is not just to cast the result to kind = 2 and call dos_error_message@?!)

6 Oct 2006 9:19 #1126

Andy

The meaning of the error code varies. In the case of fexists@, the error code is supplied by the Microsoft API function GetLastError() so you can get the meaning from the GetLastError() documentation on MSDN.

Yes this information ought to be in the FTN95 documentation.

Please login to reply.