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

intnum Reference

Store a integer number, bang it out

intnum

Examples

Arguments

initial [number]

Optional

Sets an initial stored value. Sending a new value to the right inlet overrides this value.

Inlets

input [bang, number]

A number in the left inlet is truncated, then sets the stored value and passes it out. A bang outputs the stored number.

value [number]

A number in the right input is truncated then sets the stored value without triggering output.

Outlets

out [number]

The stored number.

Fixed Attributes

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

initial [number] (default: 0)

Sets an initial stored value. Sending a new value to the right inlet overrides this value.

Dynamic Attributes

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

input [bang, number]

A number in the left inlet is truncated, then sets the stored value and passes it out. A bang outputs the stored number.

value [number]

A number in the right input is truncated then sets the stored value without triggering output.

See Also

Name Description
int Store an integer value
float
list.reg Store a list, bang it out.
pass Allows input values to pass to the output unchanged