ERRP

Contents


errp is used to know the name of the program where the error occurred.

 

Syntax

   errp

Examples

   # Writing the message in the log
     Call ECR-TRACE("erreur"-num$(errn)-errmes$(errn)-errm-"programme"-errp-"line no"-num$(errl),1)
             From GESECRAN

Description and comments

errp is used to know the name of the program where the error occurred.

The result is of character string type.

When an error occurs, Adonix is able to provide the number of the line in the program that caused said error (errl) and the error internal number (errn). The errmes$ function makes it possible to obtain the standard error message associated with it.

Associated errors

No associated errors.

New to version 130

This is a new function.

Associated keywords

ERRL - ERRN - ERRMES$ - ONERRGO - ERRBOX


CONTENTS

Copyright © Sage 1999 - 2007