UNIFACE 8.1.01 - $collHandle

[back to index]


$collhandle

Return the handle of the requested entity.

Synopsis

$collhandle{(LitEntityName)}

Use

Allowed in all component types.

Description

The function $collhandle returns the handle of the requested entity.

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

If the LitEntityName argument is omitted, the current entity is used.

Return value

The function $collhandle returns the handle of the entity of LitEntityName.

An null handle is returned if an error occurred or if LitEntityName is not a correct entity.

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:

     

-1102

<UPROCERR_ENTITY>

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

     

 

Related Information

$occhandle

$instancehandle