LOTUSSCRIPT LANGUAGE


Erl function
Example

Returns the line number in the current script procedure where the current error occurred.

Syntax

Erl

Return value

Erl returns an Integer. It returns FALSE (0) if there is no current error, which signifies that the most recent error has been handled.

Usage

You can call the function as either Erl or Erl().

The line number returned by Erl is for the procedure handling the error. If a calling procedure contains an On Error statement and the called procedure does not, an error in the called procedure is reported at the line number of the Call statement or function reference in the calling procedure.

Example
See Also