Chapter Contents

Previous

Next
Object Class: _addReceiver

Object Class: _addReceiver



Adds an object to another object's _receivers_ list


Syntax
Details

Syntax

objectName._addReceiver( receiverID );

Argument Type Use Description
receiverID Numeric Input specifies the identifier of the object to add to the list of broadcast recipients


Details

If the receivers list does not exist, the _addReceiver method creates it and then adds the specified object to the list. The _addReceiver method also adds the sending object to the receiving object's receiverID.

Use _addReceiver to add receiverID to the list of recipients that receive messages when object executes the _broadcast method.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.