GetObjectRef  Global

The GetObjectRef function retrieves the integer value of the instance reference.

Syntax

Integer Global.GetObjectRef(
     Pointer obj,
     Integer realObject = true)

Parameters

objReference of the object.Required
realObject
true, false
The real object is the last derived object.Optional

Return value

The GetObjectRef function returns the integer value.

If the object is not valid, the GetObjectRef function returns 0.

Example

Integer ref
Table table new
ref = GetObjectRef(table)
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia