CArray:new CArray:Copy

CArray:delete


The delete method deletes an instance of the CArray class. Use delete when you are finished using the instance of this class. Note that Mira automatically deletes all class objects when the script finishes.

Syntax

CArray:delete()

Example

 

A = CArray:new()

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

  ...

-- do something with the CArray.

A:delete()

-- delete the object and its associated memory.

Related Topics

CArray, new