<?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="prepend" module="max" category="Messages">
	<digest>
		Add a message in front of input
	</digest>
	<description>
		Prepends any input messages with a stored message.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Messages
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Message to be Followed by Arguments
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Message to be Followed by Arguments
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Resulting Prepended Message
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="message" optional="0" type="symbol">
			<digest>
				Message to prepend
			</digest>
			<description>
				Sets the message to be prepended at the beginning of incoming messages. The first argument must be a symbol.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Prepend data, cause output
			</digest>
			<description>
				The message stored in <o>prepend</o> is attached to the beginning of the message received in the inlet, and the combined message is sent out its outlet followed by the word &quot;bang&quot;).
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Prepend data, cause output
			</digest>
			<description>
				The integer stored in <o>prepend</o> is attached to the beginning of the message received in the inlet, and the combined message is sent out its outlet.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Prepend data, cause output
			</digest>
			<description>
				The float stored in <o>prepend</o> is attached to the beginning of the message received in the inlet, and the combined message is sent out its outlet.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Prepend data, cause output
			</digest>
			<description>
				The list stored in <o>prepend</o> is attached to the beginning of the message received in the inlet, and the combined message is sent out its outlet.
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Prepend data, cause output
			</digest>
			<description>
				The message stored in <o>prepend</o> is attached to the beginning of the message received in the inlet, and the combined message is sent out its outlet.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="message" optional="0" type="list" />
			</arglist>
			<digest>
				Replace the stored message
			</digest>
			<description>
				The word <m>set</m>, followed by any message, will replace the message stored in <o>prepend</o>, without triggering output.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="prepend.png" caption="Symbols can be combined into meaningful messages with prepend" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="append" />
		<seealso name="message" />
		<seealso name="route" />
	</seealsolist>
	<misc name="Output">
		<entry name="anything">
			<description>
				The message received in the inlet is combined with the message stored in <o>prepend</o>, and then sent out the outlet. The maximum allowed length of any constructed message is 256 items.
			</description>
		</entry>
	</misc>
</c74object>
