<?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="string.passcmp" module="max" category="String">
	<digest>
		Route a string by its prefix.
	</digest>
	<description>
		Route a string to one of several outputs based on its prefix. Similar to <o>routepass</o> but for strings.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			TEXT_HERE
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				string in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				string in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				string out if there are no matches
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="match prefixes" type="list" optional="0">
			<digest>
				prefixes to route
			</digest>
			<description>
				Determines the number of outlets. The last outlet will always be for unmatched strings. Prefixes are routed in order, so the first prefix to match (from left to right) will capture the string for output, even if later prefixes would also have matched.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Trigger output
			</digest>
			<description>
				Reprocess previously received values and trigger output.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="value" type="int" optional="0" />
			</arglist>
			<digest>
				Convert an integer to a string.
			</digest>
			<description>
				Convert an incoming integer to a string, then process as described for the <m>string</m> message.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="value" type="float" optional="0" />
			</arglist>
			<digest>
				Convert a floating-point number to a string.
			</digest>
			<description>
				Convert an incoming floating-point number to a string, then process as described for the <m>string</m> message.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="list-value" type="list" optional="0" />
			</arglist>
			<digest>
				Convert a list to a string.
			</digest>
			<description>
				Convert an incoming list to a string, then process as described for the <m>string</m> message.
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="list-value" type="list" optional="0" />
			</arglist>
			<digest>
				Convert a list to a string.
			</digest>
			<description>
				Convert an incoming list to a string, then process as described for the <m>string</m> message.
			</description>
		</method>
		<method name="string">
			<arglist>
				<arg name="ARG_NAME_0" type="list" optional="0" />
			</arglist>
			<digest>
				Route a string by its prefix
			</digest>
			<description>
				Match the string with each of the prefixes supplied as arguments to the object. If a prefix matches, output the string from the connected outlet. If no prefixes match, output the string from the last (overflow) outlet. Prefixes are routed in order, so the first prefix to match (from left to right) will capture the string for output, even if later prefixes would also have matched.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example caption="" img="" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="string" />
		<seealso name="array.routepass" />
		<seealso name="routepass" />
		<seealso name="select" />
	</seealsolist>
</c74object>
