EMA-XPS Online


REMOVE-DEPENDENT

REMOVE-DEPENDENT
================

syntax: (remove-dependent <relation-specifier>
                          <sender-specifier>
                          <receiver-specifier>
                          {[:READ T | NIL | Var]
                           [:WRITE T | NIL | Var]}+
                          [:KB <kb>])

Warning: yet not implemented!

This function removes read- and write-dependents 
dynamically. With the optional parameters you can 
choose, whether the receiver will be removed from the 
read- and/or write-dependents. If you only want to 
remove the read-dependent receiver, then you have to 
set ':READ' to T. If you only want to remove the write-
dependent receiver, then you have to set ':WRITE' to T.
The value, that will be returned, is the removed 
receiver of the message - in our case RECEIVER-
SPECIFIER -. If the RECEIVER-SPECIFIER is not 
included, then NIL will be returned.
If you put in the identifier, then you get back the 
name of the instance. If you put in the object, then 
you get back the object.

example: >(remove-dependent 'place Louvre 
                            trafficoffice-Paris)
         #<TRAFFICOFFICE TRAFFICOFFICE-PARIS>

or
 
         >(remove-dependent 'place 'Louvre 
                            'trafficoffice-Paris)
         (TRAFFICOFFICE-PARIS)


EMA-XPS Online