<?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.slice" module="Max" category="Lists">
	<digest>
		Slice a list in two
	</digest>
	<description>
		zl.slice is used to divide a list into two lists. This mode takes a number argument which specifies the size, in elements, of a list. This value can also be specified as an <m>int</m> to the right inlet. A <m>list</m> received in the left inlet will be split into two lists - the first list contains the number of items specified by the argument, and is sent out the left outlet. Any remaining list elements are sent out the right outlet of the object. Note: Lists are sent out the right outlet first.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			TEXT_HERE
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="anything">
			<digest>
				list to split into two slices
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="int">
			<digest>
				size of left slice
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="list">
			<digest>
				left slice of input list
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="list">
			<digest>
				right slice of input list
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="initial-size" type="int" optional="1">
			<digest>
				Initial size of slice
			</digest>
			<description>
				Sets the initial size of the slice. Must be a positive number.
			</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>
				Set size of slice
			</digest>
			<description>
				A number in the right inlet sets the size of the left slice.
			</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>
				List to slice
			</digest>
			<description>
				A list in the left inlet sets the list to slice and causes 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.sect" />
		<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 />
				Left slice of list (as set by the input to the right inlet or initial object argument).
				<br />
				<br />
				Out right outlet:
				<br />
				Remaining elements of list.
			</description>
		</entry>
	</misc>
</c74object>
