<?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.compare" module="max" category="Array">
	<digest>
		Compare two arrays for equality.
	</digest>
	<description>
		Arrays are compared for their value and order.
	</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>
				1 if identical, 0 if different
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="OBJARG_NAME" type="OBJARG_TYPE" optional="0">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Compare the left and right inputs again and output the result (0/1).
			</digest>
			<description>
				Compare the left and right inputs again and output the result (0 - Unequal/ 1 - Equal)
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="value" type="int" optional="0" />
			</arglist>
			<digest>
				Convert an integer to an array for comparison.
			</digest>
			<description>
				Convert an incoming integer to an array, then process as described for the <m>array</m> message.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="value" type="float" optional="0" />
			</arglist>
			<digest>
				Convert a floating-point number to an array for comparison.
			</digest>
			<description>
				Convert an incoming floating-point number to an array, then process as described for the <m>array</m> message.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="list-value" type="list" optional="0" />
			</arglist>
			<digest>
				Convert a list to an array for comparison.
			</digest>
			<description>
				Convert an incoming list to an array, then process as described for the <m>array</m> message.
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="list-value" type="list" optional="0" />
			</arglist>
			<digest>
				Convert a list to an array for comparison.
			</digest>
			<description>
				Convert an incoming list to an array, then process as described for the <m>array</m> message.
			</description>
		</method>
		<method name="array">
			<arglist>
				<arg name="array-value" type="list" optional="0" />
			</arglist>
			<digest>
				Compare an array.
			</digest>
			<description>
				Compare an array . Set the array to be compared in the right inlet without triggering output. In the left inlet, set the array to compare to and immediately trigger the array out.  In the right inlet, the array is stored and no output is generated. In the left inlet, the array is compared to any array received in the right inlet and a result (0/1) is sent to the outlet.
			</description>
		</method>
		<method name="dictionary">
			<arglist>
				<arg name="dictionary-value" type="dictionary" optional="0" />
			</arglist>
			<digest>
				Wrap a dictionary object in an array for comparison.
			</digest>
			<description>
				Wrap a dictionary object in an array for comparison.
			</description>
		</method>
		<method name="string">
			<arglist>
				<arg name="string-value" type="string" optional="0" />
			</arglist>
			<digest>
				Wrap a string object in an array for comparison.
			</digest>
			<description>
				Wrap a string object in an array for comparison.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="unordered" get="1" set="1" type="int" size="1">
			<digest>
				Ignore Order
			</digest>
			<description>
				When comparing arrays, the order of elements is normally taken into account.
				<br>
				</br>
				<br>
				</br>
				When <m>@unordered</m> is set to 1, comparison will be performed without regard for the element order, such that [ 1, 2, 3 ] and [ 2, 3, 1 ] are considered equivalent.
			</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="Ignore Order" />
				<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.change" />
		<seealso name="dict.compare" />
		<seealso name="zl.change" />
	</seealsolist>
</c74object>
