GetObjectTypeID  Global

The GetObjectTypeID function retrieves the ID of the object type (Integer.ID, Table.ID, Mouse.ID...).

Syntax

Integer Global.GetObjectTypeID(
     Pointer obj)

Parameters

objReference 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)
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia