Navigation:  ThinBASIC Language > Data types and variables > iDispatch variables >

IsComObject

Previous pageReturn to chapter overviewNext page

 

Description

 

Determine if the iDispatch variable has a valid object associated.

 

Syntax

 

n = IsComObject(iDispatchVariable)

 

Returns

 

Number: %TRUE or %FALSE

 

Parameters

 

Name

Type

Optional

Meaning

iDispatchVariable

iDispatch

No

A iDispatch Variable

 

Remarks

 

Restrictions

 

See also

 

iDispatch, NewCom, GetCom, AnyCom, Nothing, IsComObject, IsComNothing.

 

Examples