A newer version of Max is available. Click here to access the latest version of the Max documentation

message Reference

send and display messages

message

Examples

Inlets

trigger [bang]

Anything received in the left inlet will send the displayed message out the object's outlet. Clicking on the object in a locked patcher will also send the displayed message out its outlet.

set [list]

set the message

Outlets

out [list]

The contents of the message displayed in the object are sent out the outlet upon receiving a bang or a mouse click in a locked patcher.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

text [list]

The message is set by typing in the message box in an unlocked patcher.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

listout [list]

listout

set [list]

set the message

trigger [bang]

Anything received in the left inlet will send the displayed message out the object's outlet. Clicking on the object in a locked patcher will also send the displayed message out its outlet.

See Also

Name Description
message Send any message
set set value of attributes and parameters
append Returns a new list with b appended to a.
prepend Return a new list where b is prepended to a
pack combine numbers into a list
send Send messages without patch cords
receive Receive messages without patch cords
comment comment box