UNIFACE 8.1.01 $instanceHandle

[back to index]


$instancehandle

Return the handle of the requested instance.

Synopsis

$instancehandle{(InstName)}

Use

Allowed in all component types.

Description

The function $instancehandle returns the handle of the requested instance.

If the InstName argument is provided, it must be one of the following:

If the InstName argument is omitted, the current instance is used.

Return value

The function $instancehandle returns the handle of the instance with a name InstName.

An null handle is returned if an error occurred or in the following circumstances:

If an error occurs during the evaluation of this function, the function $procerror contains a negative value that identifies the exact error. Values of $procerror commonly returned by this function are:

-57

<UACTERR_NO_INSTANCE>

The named instance cannot be found in the component pool.

-1101

<UPROCERR_FIELD>

An incorrect field name was provided; either the field name is not valid syntactically or the field is not available in the component.

     

 

Related Information

Proc:

$occhandle

$collhandle