From Cycling '74 Wiki
Jump to: navigation, search


int online refpage

Using the int object

The int object lets you store an int value in the right inlet and wait for a bang in the left inlet before outputting the value. It can also convert floats to ints, truncating the float. Int takes one argument that will specify a default or starting value.

An int object can be very helpful if you need to store a value and retrieve it later without the possibility of a user changing it within the UI.

int Tutorials

Max Basic Tutorial 16: Remote Messaging introduces the int object. While not covered in the tutorial, you can use the send message to an int object to send its stored value to a named receive object.

int Tips and Workarounds

You can abbreviate the object name to "i".

You can use int in place of a send object using the send message:

-- Pasted Max Patch, click to expand. --

There are other ways to do what int does, but int offers some useful behaviors.

-- Pasted Max Patch, click to expand. --

Third-Party Max externals similar to the int object listing for the int object

People who looked at/used this object also looked at....

Errors or Clarifications

(please list things that you believe to be errors or omissions from the existing refpage)