CLabels:delete


The delete method deletes an instance of the CLabels class. Typically, the object should be deleted when you are finished using it in order to release memory used by the object. Mira automatically deletes all class objects when the script finishes but, it usually is good practice to delete objects when you are finished with them, at least so that you can re use the name.

Syntax

CLabels:delete()

Example

 

L = CLabels:new()

-- create a new instance of the CLabels class.

  --

-- do something with the CLabels object.

L:delete()

-- delete the object and its associated memory.

Related Topics

new

CLabels class