CLsqFit:delete
The delete method deletes a CLsqFit 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.
CLsqFit:delete() In place of CLsqFit, use the actual name of the object being deleted. |
This method deletes the instance of the CLsqFit object. Conversely, if you want to delete all the sample data but keep the CLsqFit object and its properties intact, use ResetPoints instead.
This example creates a CLsqFit object, then deletes it. Note that the object could also be created using new_lsqfit:
|
-- create a new instance of the CLsqFit class. |
|
-- do something with the CLsqFit object. |
|
-- delete the object and its associated memory. |
CLsqFit class, new, ResetPoints
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.