CCentroid:delete


The delete method deletes a CCentroid object and sets it to nil. Call delete when you are finished using the object. Note that Mira automatically deletes all class objects when the script finishes.

Syntax

CCentroid:delete()

bullet.gif    In place of CCentroid, use the actual name of the object being deleted.

Example

C = CCentroid:new()

-- create a new instance of of the CCentroid class.

  ...

-- do something with the CCentroid.

C:delete()

-- delete the object and its associated memory.

Related Topics

CCentroid, new


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.