Function Reference


IsObj

Checks if a variable or expression is an object type.

IsObj ( variable )

Parameters

variable The variable/expression to check.

Return Value

Success: 1 if expression is an object variable.
Failure: 0 if expression is not an object variable.

Remarks

See language datatypes for a detailed description.

Related

GUICtrlCreateObj, ObjCreate, ObjEvent, ObjGet, ObjName, VarGetType

Example

#include <MsgBoxConstants.au3>
Local $oShell= ObjCreate ("shell.application")
If IsObj ($oShell)Then
MsgBox ($MB_SYSTEMMODAL,"","The variable is an object")
Else
MsgBox ($MB_SYSTEMMODAL,"","The variable is not an object")
EndIf

AltStyle によって変換されたページ (->オリジナル) /