The NewFromID function allows to create new instances by using the ID of the object.
Syntax
Pointer Global.NewFromID(
Integer idObject)
Integer idObject)
Parameters
| idObject | ID of the object (ObjectName.ID). | Required |
|---|
Return value
The NewFromID function returns the new object instance reference.
Example
table = NewFromID(Table.ID)
// The equivalent is:
table = new Table
// The equivalent is:
table = new Table