CFile:new CFile:Open

CFile:delete


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

Syntax

CFile:delete()

Example

 

F = CFile:new()

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

  ...

-- do something with the CFile.

F:delete()

-- delete the object and its associated memory.

Related Topics

CFile, new