onError
|
The onError special form assigns an error event handler function {anLambda}. The scope of the
onError special form is limited to the scope of the current executing Lambda. Any error events,
occurring during the scope of the current executing Lambda, will result in the specified error event handler Lambda
being invoked. The specified error event handler Lambda, {anLambda}, must be a function of one argument. The error event
is converted into a text object and passed to the error event handler function. Usage The onError function is used to define an error handler function.
(onError anLambda) Returns false if the object has a value of 0. Returns true otherwise.
Expression:
Arguments
Name
Type
Description Argument: anLambda Lambda
The event handler Lambda. The specified error event handler Lambda (anLambda) must be a function of one argument.
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
Lambda | Boolean |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|