forward Reference

Send messages to specified receive objects

forward

Description

Relays messages to other objects remotely. Unlike the send object, the destination receive object of forward can be changed with each message.

Examples

Using forward to send messages to multiple objects at once... The same thing, with two send objects... The message box can perform the same function

Arguments

receiver [symbol]

Optional

Sets the name for the receive object which will receive messages. This name can later be changed with the send message.

Attributes

Common Box Attributes

Messages

bang

See the anything entry.

int

Arguments

input [int]
See the anything entry.

float

Arguments

input [float]
See the anything entry.

list

Arguments

input [list]
See the anything entry.

anything

Arguments

any message [list]
Sends any message to all receive objects which share the name currently referred to by forward.

send

Arguments

arguments [list]
The word send, followed by the name of a receive object, sets the destination for any subsequent messages received by the forward object. This ability to change the destination of messages on the fly distinguishes forward from the send object.

Output

anything

There are no outlets. A message (other than send) received in the inlet of forward is sent out the outlet of each receive object of the same name, even if the receive is in another patch.

See Also

Name Description
message
pattrforward
receive
route
send
value