LOTUSSCRIPT LANGUAGE


Error function
Example

Returns an error message for either a specified error number or the current error.

Syntax

Error[$] [ ( errNumber ) ]

Elements

errNumber


Return value

Error returns a Variant, and Error$ returns a String. If no errNumber is specified, and there is no current error, the function returns the empty string ("").

You can call the Error function with no arguments as either Error or Error( ). You can call the Error$ function with no arguments as either Error$ or Error$( ).

Language cross-reference

@Error function in formula language

@IsError function in formula language

Example
See Also