<?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>
		Subtraction object (inlets reversed)
	</digest>
	<description>
		Subtracts the input from a specified value The <o>!-</o> object functions just like the <o>-</o> object, but the inlets' functions are reversed.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			math
		</metadata>
		<metadata name="reference">
			TEXT_HERE
		</metadata>
		<metadata name="license">
			TEXT_HERE
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Right Operand in Left Inlet!
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Left Operand in Right Inlet!
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Difference Out
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="value" optional="1" type="int or float">
			<digest>
				Initial value
			</digest>
			<description>
				Sets the initial value, to be subtracted from a number received in the left inlet. A <m>float</m> argument causes the numbers to be subtracted as floats.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Output the last-used calculation
			</digest>
			<description>
				In left inlet: Performs the subtraction with the numbers currently stored. If there is no argument, <o>!-</o> initially holds 0.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" type="int" />
			</arglist>
			<digest>
				Subtract from the argument value
			</digest>
			<description>
				In left inlet: The number is stored, and will be subtracted from a number received in the right inlet.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" type="float" />
			</arglist>
			<digest>
				Subtract from the argument value
			</digest>
			<description>
				Converted to <m>int</m>, unless <o>!-</o> has a float argument.
			</description>
		</method>
		<method name="ft1">
			<arglist>
				<arg name="input" type="float" />
			</arglist>
			<digest>
				Set a new subtraction value
			</digest>
			<description>
				Converted to <m>int</m>, unless <o>!-</o> has a float argument.
			</description>
		</method>
		<method name="in1">
			<arglist>
				<arg name="input" type="int" />
			</arglist>
			<digest>
				Set a new subtraction value
			</digest>
			<description>
				In right inlet: The number in the left inlet is subtracted from the number, and the result is sent out the outlet.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="rminus.png" caption="- with the inputs swapped" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="-" />
		<seealso name="expr" />
	</seealsolist>
	<misc name="Output">
		<entry name="int">
			<description>
				The difference between the two numbers received in the inlets.
			</description>
		</entry>
		<entry name="float">
			<description>
				Only if there is an argument with a decimal point.
			</description>
		</entry>
	</misc>
</c74object>
