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

append Reference

Returns a new list with b appended to a.

append

Examples

Arguments

b [list]

Optional

A number or list of numbers to append to the input.

Inlets

a [list]

The input number or list that will come before any appended values in the output list.

b [list]

A number or list of numbers to append to the input.

Outlets

out1 [list]

Outputs a list composed of the input value(s) followed by the appended value(s).

Fixed Attributes

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

hot [bool] (default: false)

Trigger computation on all inlets.

Dynamic Attributes

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

a [list]

The input number or list that will come before any appended values in the output list.

b [list]

A number or list of numbers to append to the input.

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

See Also

Name Description
append Append arguments to the end of a message
join Combine items into a list
message send and display messages
prepend Return a new list where b is prepended to a
route Select outlet based on input matching.