iscom

Determine whether input is COM or ActiveX object.

Syntax

  • r = iscom(h)

Input argument

  • h - a nelson variable.

Output argument

  • r - a logical: true or false.

Description

r = iscom(h) returns logical true if handle h is a COM or a Microsoft® ActiveX® object. Otherwise, it returns false.

Example

pWord = actxserver('Word.Application')
iscom(pWord)
delete pWord
iscom(pWord)
clear pWord

See also

actxserver.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated