Delete
Delete

Deletes the specified object safely.

bSuccess = myJAM.Delete( Object_Instance )

Return value
TRUE if the object was deleted successfully, otherwise FALSE.

Parameters
  • Object_Instance
    An object instance returned by either Create or CreateGUI
Comments

Some objects require end code to tidy themselves up before deletion. Because Jamagic has no support for destructors, this is not normally possible. However, in JAM, JAM.Delete(obj); can be used instead of Delete obj; To delete the object properly. This should always be used to prevent potential errors.

See also
JAM:ClearFrame



JAM © 2005 no one in partiular
Project started by David Evans in 2005