ERRM

Contents


errm is used to give the second part of the error message.

 

Syntax

   errm

 

Examples

   # Extract from a sub-programme for branching in the event of an error
    [L]ER = errn
    Call ERREUR(errmes$([L]ER)+"\"+errm) From GESECRAN

 

Description and comments

errm returns the second part of the error message constructed by Adonix in the event of an error.

The result is a character string type.

When an error occurs, Adonix can supply the programme line number that caused it (err1) and the internal error number (errn). The errmes$ function gives the associated standard error message. It is sometimes helpful internally to know what caused the message so that diagnostic processes can be refined. This applies particularly to so-called "internal" errors. It does not apply to errors caused by non-existent variables, incorrect indices, exceeding domains, etc. In the latter case, errm returns the same message as for errmes$(errn).

 

Associated errors

No associated errors.

 

Associated key words

ERRL - ERRN - ERRMES$ - ONERRGO - ERRBOX


CONTENTS


Copyright © Sage 1999 - 2007