The GetObjectTypeID function retrieves the ID of the object type (Integer.ID, Table.ID, Mouse.ID...).
Syntax
Integer Global.GetObjectTypeID(
Pointer obj)
Pointer obj)
Parameters
| obj | Reference of the object. | Required |
|---|
Return value
The GetObjectTypeID function returns the ID of the object type.
If the object is not valid, the GetObjectTypeID function returns 0.
Example
Table table new
id = GetObjectTypeID(table)
id = GetObjectTypeID(table)