Error Messages/40679


Error message examples

In call to function Expecting_handle, the second parameter, «y», should evaluate to a handle.

Cause

You are passing a non handle as a parameter to a function that is expecting the parameter to be a handle. Function parameters that have been qualified by 'handle' expects a handle of an object and produces this error if the parameter passed to the function is not a handle.

The following function expects the second parameter, «y», to be a handle and throws this error when a non handle (Null, number or reference) is passed to the function.

Function Expecting_handle(x: positive; y: handle)

Remedies

Correct the parameter passed to the function to be a handle.

Handle of an object can be obtained by using the function Handle(object) or HandleFromIdentifier(text).

See Also

Comments


You are not allowed to post comments.