f Reference

Store a number, bang it out

f

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 sets the stored value and passes it out. A bang outputs the stored number.

value [number]

A number in the right input 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 sets the stored value and passes it out. A bang outputs the stored number.

value [number]

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

See Also

Name Description
intnum
list.reg Store a list, bang it out.
pass Allows input values to pass to the output unchanged