•  Back 
  •  Object Library 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Fileobjc_add()
Object Library
objc_delete()                                                           AES

Syntax

WORD objc_delete( tree, obj )
OBJECT *tree;
WORD obj;

Function       objc_delete() removes an object from an object tree.

Opcode         41 (0x29)

Availability   All AES versions.

Parameters     tree specifies the object tree of the object to delete. obj
               is the object to be deleted.

Binding        intin[0] = obj;

               addrin[0] = tree;

               return crys_if(0x29);

Return Value   objc_delete() returns 0 if an error occurred or non-zero
               otherwise.

Comments       This function does not move other objects in the tree
               structure, it simply unlinks the specified object from the
               object chain by updating the other object's ob_next,
               ob_head, and ob_tail structure members.

See Also       objc_add()

Group          Object Library