<?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="!=" module="max" category="Math">
	<digest>
		Compare numbers for not-equal-to condition
	</digest>
	<description>
		Compares two values to see if one value is not equal to a second. Outputs a 1 if the number is not equal to the comparison-number or 0 if it is equal to it.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Math
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Set Left Operand, Trigger the Calculation
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Set Right Operand
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Result = Left != Right
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="initial-comparison-value" optional="1" type="int or float">
			<digest>
				Comparison value
			</digest>
			<description>
				Sets the initial value, to be compared with a number received in the left inlet. A float argument forces a float comparison.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Perform the comparison with the most recent values
			</digest>
			<description>
				In left inlet: Performs the comparison with the numbers currently stored. If there is no argument, <o>!=</o> initially holds <m>0</m> for comparison.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Compare to the stored value, cause output
			</digest>
			<description>
				In left inlet: The number is compared with the number in the right inlet. If the two numbers are not equal, <o>!=</o> outputs <m>1</m>. If they are equal <o>!=</o> outputs <m>0</m>.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Compare to the stored value, cause output
			</digest>
			<description>
				Converted to <m>int</m> before comparison, unless <o>!=</o> has a float argument.
			</description>
		</method>
		<method name="in1">
			<arglist>
				<arg name="comparison-value" optional="0" type="int" />
			</arglist>
			<digest>
				Set the comparison value
			</digest>
			<description>
				In right inlet: The number is stored, to be compared with a number received in the left inlet.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="set-input" optional="0" type="int" />
			</arglist>
			<digest>
				Set the incoming value without output
			</digest>
			<description>
				Sets the number to be compared without causing output (<m>bang</m> will output it).
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="input" optional="0" type="number" />
				<arg name="comparison-value" optional="0" type="number" />
			</arglist>
			<digest>
				Compare two numbers
			</digest>
			<description>
				In left inlet: Compares first and second number, outputs 1 if they are not equal, 0 if they are equal.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="notequals.png" caption="Test if two numbers are not equal" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="select" />
		<seealso name="split" />
		<seealso name="&lt;" />
		<seealso name="&lt;=" />
		<seealso name="==" />
		<seealso name="&gt;" />
		<seealso name="&gt;=" />
		<seealso name="basicchapter19" module="max" type="tutorial" />
	</seealsolist>
	<misc name="Output">
		<entry name="int">
			<description>
				1 if the numbers in the inlets are not equal, <m>0</m> if they are equal.
			</description>
		</entry>
	</misc>
</c74object>
