<?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.stream" module="Max" category="Lists">
	<digest>
		Make a list of a certain size
	</digest>
	<description>
		zl.stream accepts a number in the right inlet which specifies the length of the output list. Following the receipt of this number, the object will collect this number of items input through the left inlet. After the list-length is complete, and with each subsequent input, the list will be output the left outlet. A <m>1</m> or a <m>0</m> will be output from the right outlet depending on whether the list-length has been reached or not. A <m>1</m> signifies that the list-length has been reached and that the object is now collecting the stream. Use the <m>zlclear</m> message to reset the list.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			TEXT_HERE
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="anything">
			<digest>
				item to collect
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="int">
			<digest>
				defines output list length
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="anything">
			<digest>
				last 256 elements
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="int">
			<digest>
				1 if the 256 elements are defined
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="initial-length" type="int" optional="0">
			<digest>
				Initial list length
			</digest>
			<description>
				Defines the initial list length. If a negative number is used, the output will be reversed.
			</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>
				Defines output length
			</digest>
			<description>
				In the right inlet, an integer will set the output list length. If a negative number is used, the output will be reversed.
			</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>
				Items to collect
			</digest>
			<description>
				Adds items to the currently held list
			</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.slice" />
		<seealso name="zl.sort" />
		<seealso name="zl.stack" />
		<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 />
				The last number of list items based on the number specified by input to the right inlet (or object argument).
			</description>
		</entry>
		<entry name="int">
			<description>
				Out right outlet:
				<br />
				<m>1</m> or a <m>0</m> will be output depending on whether the list-length has been reached or not. A <m>1</m> signifies that the list-length has been reached and that the object is now collecting the stream.
			</description>
		</entry>
	</misc>
</c74object>
