<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Little zl help?</title>
		<atom:link href="http://cycling74.com/forums/topic/little-zl-help/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/little-zl-help/feed</link>
		<description></description>
		<pubDate>Mon, 17 Jun 2013 23:52:37 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/little-zl-help/#post-47240</guid>
					<title><![CDATA[Little zl help?]]></title>
					<link>http://cycling74.com/forums/topic/little-zl-help/#post-47240</link>
					<pubDate>Wed, 16 Dec 2009 23:54:20 +0000</pubDate>
					<dc:creator>dd1984</dc:creator>

					<description>
						<![CDATA[
						<p>i&#8217;m working on some list management (just need to compare a float to a list) and i think zl lookup or zl compare might help me.  i&#8217;m using max4.6 and unfortunately those two objects aren&#8217;t in the help file or the documentation.  could someone post a simple example patch so i can see how these are used correctly?  thanks!</p>
<p>drew</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/little-zl-help/#post-169919</guid>
					<title><![CDATA[Re: Little zl help?]]></title>
					<link>http://cycling74.com/forums/topic/little-zl-help/#post-169919</link>
					<pubDate>Thu, 17 Dec 2009 00:13:02 +0000</pubDate>
					<dc:creator>Hans Höglund</dc:creator>

					<description>
						<![CDATA[
						<p>How do you define equality for your float and list data? By the first element or any other element? If you don&#8217;t know how to explain, please post examples.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/little-zl-help/#post-169920</guid>
					<title><![CDATA[Re: Little zl help?]]></title>
					<link>http://cycling74.com/forums/topic/little-zl-help/#post-169920</link>
					<pubDate>Thu, 17 Dec 2009 00:58:26 +0000</pubDate>
					<dc:creator>dd1984</dc:creator>

					<description>
						<![CDATA[
						<p>i need to check an incoming float against every number stored in a coll object to prevent duplicates.  ignoring the index (since that has to be an int), the first number after the comma is my list.  this may help</p>
<p>max v2;<br />
#N vpatcher 440 130 1040 530;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 2;<br />
#P comment 132 281 124 196617 i just need a yes/no if it&#8217;s being used;<br />
#P window linecount 3;<br />
#P comment 385 276 124 196617 i tried looking at vexpr , but i haven&#8217;t figured the correct way to used it;<br />
#P window linecount 2;<br />
#P comment 382 229 124 196617 will zl lookup or zl compare help?;<br />
#P window linecount 1;<br />
#P comment 370 189 124 196617 < = against what's in here?;<br />
#P message 253 152 33 196617 dump;<br />
#P message 430 154 33 196617 clear;<br />
#P newex 422 39 48 196617 loadbang;<br />
#P message 346 147 60 196617 79 2.1 fire;<br />
#P message 330 122 58 196617 9 7.3 wind;<br />
#P message 312 101 61 196617 2 3.4 earth;<br />
#P message 299 81 64 196617 1 4.5 water;<br />
#P message 201 154 23 196617 3.4;<br />
#N coll elements;<br />
#P newobj 294 187 69 196617 coll elements;<br />
#P comment 63 156 124 196617 how can i check this # =>;<br />
#P connect 3 0 1 0;<br />
#P connect 4 0 1 0;<br />
#P connect 5 0 1 0;<br />
#P connect 6 0 1 0;<br />
#P connect 8 0 1 0;<br />
#P connect 9 0 1 0;<br />
#P fasten 7 0 3 0 427 68 304 68;<br />
#P fasten 7 0 4 0 427 98 317 98;<br />
#P fasten 7 0 5 0 427 118 335 118;<br />
#P fasten 7 0 6 0 427 146 351 146;<br />
#P pop;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/little-zl-help/#post-169921</guid>
					<title><![CDATA[Re: Little zl help?]]></title>
					<link>http://cycling74.com/forums/topic/little-zl-help/#post-169921</link>
					<pubDate>Thu, 17 Dec 2009 01:41:45 +0000</pubDate>
					<dc:creator>MIB</dc:creator>

					<description>
						<![CDATA[
						<p>if you really just need yes/no why not just send a &#8220;dump&#8221; to your coll and then unpack your list (you only need your first element, right?) then into a [== 0.] into a [sel 1] voila, there you have a bang when you have a duplicate&#8230;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/little-zl-help/#post-169922</guid>
					<title><![CDATA[Re: Little zl help?]]></title>
					<link>http://cycling74.com/forums/topic/little-zl-help/#post-169922</link>
					<pubDate>Thu, 17 Dec 2009 02:32:25 +0000</pubDate>
					<dc:creator>dd1984</dc:creator>

					<description>
						<![CDATA[
						<p>this definitely works, thanks!  but i guess i need more than a simple yes/no.  i need to replace the line based on that first element.  the dump command doen&#8217;t pass on the index, which i need to replace the line. </p>
<p>i&#8217;ve pulled this off by changing the float to a symbol, but that creates other issues.</p>
<p>i guess the ideal object would be an one that stores lists and can index with a float.  haven&#8217;t seen anything like that on maxobjects.  any thoughts?</p>
<p>drew</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/little-zl-help/#post-169923</guid>
					<title><![CDATA[Re: Little zl help?]]></title>
					<link>http://cycling74.com/forums/topic/little-zl-help/#post-169923</link>
					<pubDate>Thu, 17 Dec 2009 02:42:02 +0000</pubDate>
					<dc:creator>MIB</dc:creator>

					<description>
						<![CDATA[
						<p>there has been a post earlier this week, I think, about using floats as indices&#8230; have a quick search, maybe that will be helpful.</p>
<p>if dump doesn&#8217;t work for you use the &#8220;length&#8221; message to get the number of items (you might need a second coll with the same name so your numbers don&#8217;t get crossed), then use [uzi] to step through your coll as fast as possible. since you will be using the index of the uzi to step through the coll you know what index you are looking at. put the index of uzi into an [int] object and use the bang from the above example to get the index when your float is present. now you are free to do with the index number whatever you want to.</p>
<p>hope this helps</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/little-zl-help/#post-169924</guid>
					<title><![CDATA[Re: Little zl help?]]></title>
					<link>http://cycling74.com/forums/topic/little-zl-help/#post-169924</link>
					<pubDate>Thu, 17 Dec 2009 02:59:03 +0000</pubDate>
					<dc:creator>Luke Hall</dc:creator>

					<description>
						<![CDATA[
						<p>How about something like this which stores the index, checks the first item in the list and only sends the index if it is a match. You could then use the &#8220;remove&#8221; or &#8220;nsub&#8221; message to [coll] to delete or modify the original stored list.</p>
<p>lh</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 4;<br />
#P message 175 48 68 196617 2 3.4 earth , 1 4.5 water , 79 2.1 fire , 9 7.3 wind;<br />
#P window linecount 1;<br />
#P message 137 63 23 196617 4.5;<br />
#P message 111 63 23 196617 7.3;<br />
#P message 85 63 23 196617 2.1;<br />
#P message 59 63 23 196617 3.4;<br />
#P newex 59 205 32 196617 print;<br />
#P number 59 187 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 59 147 27 196617 sel;<br />
#P newex 59 167 53 196617 i;<br />
#P newex 59 125 44 196617 zl nth 1;<br />
#N coll data;<br />
#P newobj 59 105 141 196617 coll data;<br />
#P newex 59 83 51 196617 t dump f;<br />
#P fasten 11 0 1 0 180 102 64 102;<br />
#P fasten 10 0 0 0 142 80 64 80;<br />
#P fasten 9 0 0 0 116 80 64 80;<br />
#P fasten 8 0 0 0 90 80 64 80;<br />
#P connect 7 0 0 0;<br />
#P connect 5 0 6 0;<br />
#P connect 3 0 5 0;<br />
#P connect 4 0 3 0;<br />
#P fasten 0 1 4 1 105 102 51 102 51 144 81 144;<br />
#P connect 2 0 4 0;<br />
#P connect 1 1 3 1;<br />
#P connect 1 0 2 0;<br />
#P connect 0 0 1 0;<br />
#P window clipboard copycount 12;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/little-zl-help/#post-169925</guid>
					<title><![CDATA[Re: Little zl help?]]></title>
					<link>http://cycling74.com/forums/topic/little-zl-help/#post-169925</link>
					<pubDate>Thu, 17 Dec 2009 05:05:56 +0000</pubDate>
					<dc:creator>MIB</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks Luke&#8230; how could I have missed the second outlet!!! So simple!!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/little-zl-help/#post-169926</guid>
					<title><![CDATA[Re: Little zl help?]]></title>
					<link>http://cycling74.com/forums/topic/little-zl-help/#post-169926</link>
					<pubDate>Thu, 17 Dec 2009 17:37:23 +0000</pubDate>
					<dc:creator>dd1984</dc:creator>

					<description>
						<![CDATA[
						<p>definitely thank you both!  this is gonna help a lot.  though i am still curious about zl lookup and compare.  are those examples in the zl help files in max 5?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/little-zl-help/#post-169927</guid>
					<title><![CDATA[Re: Little zl help?]]></title>
					<link>http://cycling74.com/forums/topic/little-zl-help/#post-169927</link>
					<pubDate>Thu, 17 Dec 2009 17:47:44 +0000</pubDate>
					<dc:creator>MIB</dc:creator>

					<description>
						<![CDATA[
						<p>I believe they are Max5 features. Time to upgrade :)</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

