CColorRef:delete


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

CColorRef:delete()

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

Example

C = new_colorref()

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

  ...

-- do something with the CColorRef.

C:delete()

-- delete the object and its associated memory.

Related Topics

CColorRef, new


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