CArray:delete


The delete method deletes a CArray 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

CArray:delete()

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

Example

A = new_array()

-- 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


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