Clone (Kernel)¶
-
Clone(object)¶ Creates a new instance of a class or object and returns a pointer to it.
Parameters: object (heapPtr) – An object to clone. Returns: Pointer to a clone of the object. Example:
Event newEvent; newEvent = Clone(Event); // create an instance of Event and stores the pointer into newEvent GetEvent($7FFF newEvent); // use the instance DisposeClone(Event) // dispose of the instance