<?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="array.push" module="max" category="Array">
	<digest>
		Add one or more elements to the end of an array.
	</digest>
	<description>
		The base array is sent to the right inlet, which clears any elements sent to the left inlet. Additional elements are sent to the left inlet, and can be repeatedly placed at the end of the output array, without the user needing to update the array in the right inlet. Unlike the JavaScript implementation, the input array is not changed in place.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			array
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				array in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				array in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				pushed array out
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist />
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Trigger output
			</digest>
			<description>
				Reprocess previously received array and trigger output.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="ARG_NAME_0" type="int" optional="0" />
			</arglist>
			<digest>
				Push an integer value
			</digest>
			<description>
				In the left inlet, the integer value will be added to the end of the base array and the result will be output. In the right inlet, convert an incoming integer to an array and replace the base array.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="ARG_NAME_0" type="float" optional="0" />
			</arglist>
			<digest>
				Push a floating-point value
			</digest>
			<description>
				In the left inlet, the floating-point value will be added to the end of the base array and the result will be output. In the right inlet, convert an incoming floating-point value to an array and replace the base array.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="ARG_NAME_0" type="list" optional="0" />
			</arglist>
			<digest>
				Push a list
			</digest>
			<description>
				In the left inlet, the list will be added to the end of the base array and the result will be output. In the right inlet, convert an incoming list to an array and replace the base array.
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="ARG_NAME_0" type="list" optional="0" />
			</arglist>
			<digest>
				Push a list
			</digest>
			<description>
				In the left inlet, the list will be added to the end of the base array and the result will be output. In the right inlet, convert an incoming list to an array and replace the base array.
			</description>
		</method>
		<method name="array">
			<arglist>
				<arg name="ARG_NAME_0" type="list" optional="0" />
			</arglist>
			<digest>
				Push an array
			</digest>
			<description>
				In the left inlet, the array will be added to the end of the base array and the result will be output. In the right inlet, replace the base array with the incoming array.
			</description>
		</method>
		<method name="clear">
			<arglist />
			<digest>
				Reset the internal state of the object.
			</digest>
			<description>
				All internal arrays will be cleared.
			</description>
		</method>
		<method name="dictionary">
			<arglist>
				<arg name="ARG_NAME_0" type="list" optional="0" />
			</arglist>
			<digest>
				Push a dictionary
			</digest>
			<description>
				In the left inlet, the dictionary will be added to the end of the base array and the result will be output. In the right inlet, wrap the dictionary in an array, and replace the base array.
			</description>
		</method>
		<method name="string">
			<arglist>
				<arg name="ARG_NAME_0" type="list" optional="0" />
			</arglist>
			<digest>
				Push a string
			</digest>
			<description>
				In the left inlet, the string will be added to the end of the base array and the result will be output. In the right inlet, wrap the string in an array, and replace the base array.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="wrapmode" get="1" set="1" type="int" size="1">
			<digest>
				Wrap elements in array
			</digest>
			<description>
				When enabled, elements arriving at the left inlet will be wrapped in an array before being pushed. By default, elements are pushed unwrapped.
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Wrap elements in array" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example caption="" img="" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="array" />
		<seealso name="array.concat" />
		<seealso name="array.pop" />
		<seealso name="array.shift" />
		<seealso name="array.unshift" />
		<seealso name="zl.queue" />
		<seealso name="zl.stack" />
	</seealsolist>
</c74object>
