<?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.lookup" module="Max" category="Lists">
	<digest>
		Output elements of a list
	</digest>
	<description>
		Outputs the elements of an input list. Element indexing begins at 0.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			TEXT_HERE
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="int/list">
			<digest>
				position (start at 0) in list to extract
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="anything">
			<digest>
				list from which to extract element
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="anything">
			<digest>
				extracted element(s) of list
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="inactive">
			<digest>
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="initial-list" optional="1" type="list">
			<digest>
				Initial list
			</digest>
			<description>
				The object will accept a list in as an argument. A number in the right inlet will cause the object to output the element located at the list index specified by the number received in the left inlet. (if 6.2 3 5.6 5.3 3.8 2.4 is received in the right inlet, a 2 received in the left inlet will cause the object to output 5.6 out of the left output). Indexing begins at 0.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Repeat the most recent output
			</digest>
			<description>
				In left inlet: A bang message will output the most recent list or value calculated. Many modes of the <m>zl</m> object take inputs through their right inlet which will only set the input without triggering output. In these cases, a subsequent bang received in the left inlet will trigger the output.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="ARG_NAME_0" type="int" optional="0" />
			</arglist>
			<digest>
				Depends on inlet
			</digest>
			<description>
				In left inlet: Outputs the element located at the specified index. Indexing starts at 0.
				<br />
				In right inlet: Sets the list
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="ARG_NAME_0" type="float" optional="0" />
			</arglist>
			<digest>
				Depends on inlet
			</digest>
			<description>
				See <m>int</m> message.
			</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: Output elements located at the specified indexes. Indexing starts at 0.
				<br />
				In right inlet: Set lookup list
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Function depends on mode
			</digest>
			<description>
				Allows for the recognition of lists that begin with symbols.
			</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>
				Sets the maximum list length for all modes of operation. This is the equivalent to using an argument to the object, but allows the list length to be changed dynamically. The default list length is 256, and the maximum list length limit is 32,767.
			</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.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.sect" />
		<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="list">
			<description>
				Out left outlet:
				<br />
				A list of the element(s) as specified by the input to the leftmost inlet.
			</description>
		</entry>
	</misc>
</c74object>
