<?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="patcherargs" module="max" category="Patching">
	<digest>
		Retrieve patcher arguments
	</digest>
	<description>
		Retrieves patcher arguments and parses attribute style arguments. &quot;normal&quot; arguments are sent out the left outlet (first), and attribute style arguments are sent out the right outlet (second).
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Patching
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="bang">
			<digest>
				(bang) trigger output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="bang">
			<digest>
				trigger output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="list">
			<digest>
				(list) normal arguments
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="list">
			<digest>
				(list) attribute arguments
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="defaults" optional="0" type="int, float, symbol">
			<digest>
				Default arguments
			</digest>
			<description>
				The <o>patcherargs</o> object permits access to more than 10 arguments for patchers which are typed into an object box, but those contained within a <o>bpatcher</o> object remain limited to 10 arguments.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Output patcher arguments
			</digest>
			<description>
				Sends a list of the parent patcher's arguments out the left outlet.
				<br />
				<br />
				If the parent patcher uses any attribute-style arguments (e.g. if any Jitter objects are used in the patcher), they are sent out the right outlet as a series of lists.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Output patcher arguments
			</digest>
			<description>
				Double-clicking on the object will send the parent patcher's arguments out the left outlet.
				<br />
				<br />
				If the parent patcher uses any attribute-style arguments (e.g. if any Jitter objects are used in the patcher), they are sent out the right outlet as a series of lists.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="patcherargs.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="bpatcher" />
		<seealso name="thispatcher" />
	</seealsolist>
	<discussion>
		This object is useful inside abstractions, bpatchers, and subpatchers. If there are arguments present to the <o>patcherargs</o> object, they are assumed to be the default arguments in the instance that the parent patcher has no arguments.
	</discussion>
	<misc name="Output">
		<entry name="Int, float, symbol">
			<description>
				Out left outlet: A list of the parent patcher's arguments are sent out the left outlet when the patcher is loaded.
				<br />
				<br />
				Out right outlet: A series of lists corresponding to the attribute-style arguments (if any Jitter objects are contained in the patcher) are sent out the right outlet when the patcher is loaded.
			</description>
		</entry>
	</misc>
</c74object>
