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

Version
๐Ÿ“„ Description

1.0.0

initial version

Last updated

Was this helpful?