Promotic
WikipediaLinkedInYoutubeTwitterFacebook

IsObject - function of language VBScript

Description:
Returns a Boolean value indicating whether an expression references a valid Automation object.

In the PROMOTIC system it is better to use the method: Pm.GetVarType.

Syntax:
IsObject(expression As Object) As Boolean
Calling:
b = IsObject(expression)
Parameters:
expression(Object) Any valid expression.
Return Values:
true - if expression is a variable of Object type or a user-defined object
false - otherwise
Example:
Dim nInt, bCheck, oObject
Set oObject = Me
bCheck = IsObject(oObject) ' Returns true
bCheck = IsObject(nInt) ' Returns false
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice