<?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="zl.sect" module="Max" category="Lists">
	<digest>
		Find common items between two lists
	</digest>
	<description>
		zl.sect accepts a list in both inlets and sends a list out the left outlet that contains the elements that are common to both lists.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			TEXT_HERE
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="anything">
			<digest>
				first list to intersect
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="anything">
			<digest>
				second list to intersect
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="list">
			<digest>
				list of items in common between both input lists
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="bang">
			<digest>
				bang if nothing is common between both input lists
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="initial-list" type="list" optional="0">
			<digest>
				Initial list
			</digest>
			<description>
				Sets the initial list to be compared.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Repeat previous output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="ARG_NAME_0" type="int" optional="0" />
			</arglist>
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="ARG_NAME_0" type="float" optional="0" />
			</arglist>
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="ARG_NAME_0" type="list" optional="0" />
			</arglist>
			<digest>
				Depends on inlet
			</digest>
			<description>
				In left inlet:
				<br />
				Compares list with rightmost input and outputs what is common between the two lists. If the right inlet has not received a list (or the initial list has not been set by an argument), a bang will be output the right output.
				<br />
				<br />
				In right inlet:
				<br />
				Sets the list to be compared with the left list input. Does not cause output.
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="ARG_NAME_0" type="list" optional="0" />
			</arglist>
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</method>
		<method name="mode">
			<arglist>
				<arg name="ARG_NAME_0" type="symbol" optional="0" />
				<arg name="ARG_NAME_1" type="int" optional="0" />
			</arglist>
			<digest>
				Set zl mode
			</digest>
			<description>
				The word 'mode' followed by one of the following words will set the mode of the object:
				<br />
				change, compare, delace, ecils, group, indexmap, iter, join, lace, len, lookup, median, mth, nth, queue, reg, rev, rot, scramble, sect, slice, sort, stack, stream, sub, sum, swap, thin, union, or unique.
				<br />
				<br />
				See the reference for the corresponding mode for more information.
			</description>
		</method>
		<method name="zlclear">
			<arglist />
			<digest>
				Initialize the object
			</digest>
			<description>
				Clears the currently held list.
			</description>
		</method>
		<method name="zlreset">
			<arglist />
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="fuzzy" get="1" set="1" type="atom" size="1">
			<digest>
				Fuzzy floating-point comparison epsilon
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="atom" size="1" value="0." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Fuzzy floating-point comparison epsilon" />
			</attributelist>
		</attribute>
		<attribute name="zlmaxsize" get="1" set="1" type="atom_long" size="1">
			<digest>
				Maximum List Length
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Maximum List Length" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example caption="" img="" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="zl" />
		<seealso name="zl.change" />
		<seealso name="zl.compare" />
		<seealso name="zl.delace" />
		<seealso name="zl.ecils" />
		<seealso name="zl.filter" />
		<seealso name="zl.group" />
		<seealso name="zl.indexmap" />
		<seealso name="zl.iter" />
		<seealso name="zl.join" />
		<seealso name="zl.lace" />
		<seealso name="zl.len" />
		<seealso name="zl.lookup" />
		<seealso name="zl.median" />
		<seealso name="zl.mth" />
		<seealso name="zl.nth" />
		<seealso name="zl.queue" />
		<seealso name="zl.reg" />
		<seealso name="zl.rev" />
		<seealso name="zl.rot" />
		<seealso name="zl.scramble" />
		<seealso name="zl.slice" />
		<seealso name="zl.sort" />
		<seealso name="zl.stack" />
		<seealso name="zl.stream" />
		<seealso name="zl.sub" />
		<seealso name="zl.sum" />
		<seealso name="zl.swap" />
		<seealso name="zl.thin" />
		<seealso name="zl.union" />
		<seealso name="zl.unique" />
	</seealsolist>
	<misc name="Output">
		<entry name="anything">
			<description>
				Out left outlet:
				<br />
				List of common items between the left and right list inputs.
				<br />
				<br />
				Out right outlet:
				<br />
				When nothing is common between inputs (or there is no right inlet input or initial list argument), a bang is output.
			</description>
		</entry>
	</misc>
</c74object>
