<?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="pak" module="max" category="Lists">
	<digest>
		Output a list when any element changes
	</digest>
	<description>
		The <o>pak</o> object (pronounced &quot;pock&quot;) offers much of the functionality of <o>pack</o>, but outputs the entire list whenever input is received in any inlet.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Lists
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				int to be Element 1 in the list
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				int to be Element 2 in the list
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Combined list from Inputs
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="list-elements" optional="1" type="any">
			<digest>
				List elements
			</digest>
			<description>
				The number of inlets is determined by the number of arguments. Each argument sets an initial type and value for an item in the list produced by <o>pak</o>. If there are no arguments, the object will be created with two inlets, and the two list elements will be set to (int) 0 initially.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Output currently stored list
			</digest>
			<description>
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Store an int list element, output list
			</digest>
			<description>
				The number is stored as an item in a list, with its position in the list corresponding to the inlet in which it was received, then the entire list is output. If the inlet has been initialized with a float or symbol argument, the incoming number will be converted to a float or a blank symbol.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Store a float element, output list
			</digest>
			<description>
				The number is stored as an item in a list, with its position in the list corresponding to the inlet in which it was received, then the entire list is output. If the inlet has been initialized with an int or symbol argument, the incoming number will be converted to an int or a (blank) symbol.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Set multiple list elements
			</digest>
			<description>
				Any multi-item message is treated as a list. The first item in the incoming list is stored in in the location that corresponds to the inlet in which it was received. Each subsequent item is stored as if it had arrived in subsequent inlets (limited to the number of inlets available). After all values are stored, the list is output.
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Store values in the list, output list
			</digest>
			<description>
				Performs the same function as <m>list</m>.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="message" optional="0" type="list" />
			</arglist>
			<digest>
				Set data without output
			</digest>
			<description>
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="pak.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="bondo" />
		<seealso name="buddy" />
		<seealso name="join" />
		<seealso name="match" />
		<seealso name="swap" />
		<seealso name="thresh" />
		<seealso name="unjoin" />
		<seealso name="unpack" />
		<seealso name="zl" />
		<seealso name="jitterchapter03" module="jit" type="tutorial" />
	</seealsolist>
	<misc name="Output">
		<entry name="list">
			<description>
				The length of the list is determined by the number of arguments. When input is received in any inlet, the stored list is sent out the outlet.
			</description>
		</entry>
	</misc>
</c74object>
