<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="int" module="max" category="Data">
	<digest>
		Store an integer value
	</digest>
	<description>
		<o>int</o> can store and output any given integer number.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Data
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				bang Outputs Value, int Sets and Outputs Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Set Value Without Output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="initial-value" optional="1" type="number">
			<digest>
				Sets an initial value to be stored
			</digest>
			<description>
				Sets an initial value to be stored in <o> <b>int</b> </o>. If there is no argument, the initial value is 0. An int argument by itself, without the word <m>int</m>, is another way of creating and initializing an <b>int</b> object. Float values are converted to integers.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				In left inlet: Sends the stored value out the outlet.
			</digest>
			<description>
				In left inlet: Sends the stored value out the outlet.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				In left inlet: The number replaces the currently stored value and is sent out the outlet.
			</digest>
			<description>
				In left inlet: The number replaces the currently stored value and is sent out the outlet.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Converted to <m>int</m>.
			</digest>
			<description>
				Converted to <m>int</m>.
			</description>
		</method>
		<method name="in1">
			<arglist>
				<arg name="set-input" optional="0" type="int" />
			</arglist>
			<digest>
				In right inlet: The number replaces the stored value without triggering output.
			</digest>
			<description>
				In right inlet: The number replaces the stored value without triggering output.
			</description>
		</method>
		<method name="send">
			<arglist>
				<arg name="receive-object-name" optional="0" type="list" />
			</arglist>
			<digest>
				In left inlet: The word <m>send</m>, followed by the name of a <o> <b>receive</b> </o> object, sends the value stored in <o> <b>int</b> </o> to all <o> <b>receive</b> </o> objects with that name, without sending it out the outlet of the <b>int</b>.
			</digest>
			<description>
				In left inlet: The word <m>send</m>, followed by the name of a <o> <b>receive</b> </o> object, sends the value stored in <o> <b>int</b> </o> to all <o> <b>receive</b> </o> objects with that name, without sending it out the outlet of the <b>int</b>.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="set-input" optional="0" type="int" />
			</arglist>
			<digest>
				In left inlet: The word <m>set</m>, followed by a number, replaces the stored value without triggering output.
			</digest>
			<description>
				In left inlet: The word <m>set</m>, followed by a number, replaces the stored value without triggering output.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="int.png" caption="Output the stored value... Replace the stored value and output it... Initial value is given" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="float" />
		<seealso name="pv" />
		<seealso name="value" />
		<seealso name="basicchapter16" module="max" type="tutorial" />
	</seealsolist>
	<misc name="Output">
		<entry name="int">
			<description>
				A number is stored in (and output from) <b>int</b> as a long (32-bit) integer.
			</description>
		</entry>
	</misc>
</c74object>
