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 )

To learn more about function parameter qualifier, please click here.

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).



You are not allowed to post comments.

Comments
<comments />