Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>obj_delete()</b> c_demo http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
OBJ_DELETE()                                                        C_DEMO
   Deletes selected objects.

   Syntax
         nNumOfObjsDeleted = OBJ_DELETE(nIndex,nType)

   Arguments
         nIndex      Object number.
         nType       Type of deletion.
                     0 = delete all objects in all layers.
                     1 = delete all marked objects.
                     2 = delete all objects in current layer.
                     3 = delete all objects in buffer.
                     4 = delete current hot object.

   Returns
         nNumOfObjsDeleted Returns the number of objects actually deleted in
                           this operation.

   Description
         OBJ_DELETE() deletes objects specified by nType and returns the
         number of objects deleted. Objects are deleted from the object stack.
         Holes left by the deletions will be filled by newly created objects.
         If you are deleting a specific object, nType=4, then you need to pass
         the object number or the HOT_INFO() for the hot object. Otherwise,
         nIndex can be passed as a .F. for all other values of nType.

See Also: OBJ_EDIT() OBJ_FIND()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson