<?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: Connection Bug</title>
		<atom:link href="http://cycling74.com/forums/topic/connection-bug/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/connection-bug/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 01:41:09 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/connection-bug/#post-27055</guid>
					<title><![CDATA[Connection Bug]]></title>
					<link>http://cycling74.com/forums/topic/connection-bug/#post-27055</link>
					<pubDate>Sun, 06 Aug 2006 15:34:32 +0000</pubDate>
					<dc:creator>Tarik</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>Can anybody explain what exactly causes the following bug and how to prevent this from happening?</p>
<p>I make a js-file containing only this line:</p>
<p>this.patcher.newobject(&#8220;number&#8221;, 200, 260, 35, 9);</p>
<p>..and then I connect another object to this one.</p>
<p>I then save the file, re-open it, and discover that the connection-cord has been replaced&#8230;</p>
<p>This is on a windowsXP system with max 4.5.5</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/connection-bug/#post-81494</guid>
					<title><![CDATA[Re: Connection Bug]]></title>
					<link>http://cycling74.com/forums/topic/connection-bug/#post-81494</link>
					<pubDate>Sun, 13 Aug 2006 08:47:43 +0000</pubDate>
					<dc:creator>Tarik</dc:creator>

					<description>
						<![CDATA[
						<p>Okay, here&#8217;s another one:</p>
<p>I create a js-object containing only this line:</p>
<p>unpack=this.patcher.newdefault(272,90,&#8221;unpack&#8221;, &#8220;0.&#8221;, &#8220;0.&#8221;, &#8220;0.&#8221;);</p>
<p>I save it, so an unpack-object is made. I then test it and see that this unpack object just won&#8217;t work. It doesn&#8217;t generate any output upon receiving a list.</p>
<p>But if I retype (part of) this unpack-object, it suddenly starts behaving the way it should. The one question arising from all this is &#8220;Why?!?&#8221;</p>
<p>Is it just me or has Max gone crazy?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/connection-bug/#post-81495</guid>
					<title><![CDATA[Re: Connection Bug]]></title>
					<link>http://cycling74.com/forums/topic/connection-bug/#post-81495</link>
					<pubDate>Sun, 13 Aug 2006 09:43:19 +0000</pubDate>
					<dc:creator>volker böhm</dc:creator>

					<description>
						<![CDATA[
						<p>> I create a js-object containing only this line:<br />
><br />
> unpack=this.patcher.newdefault(272,90,&#8221;unpack&#8221;, &#8220;0.&#8221;, &#8220;0.&#8221;, &#8220;0.&#8221;);<br />
><br />
> I save it, so an unpack-object is made. I then test it and see that  <br />
> this unpack object just won&#8217;t work. It doesn&#8217;t generate any output  <br />
> upon receiving a list.</p>
<p>it probably does output a list, if you send it a list of symbols,  <br />
cause that&#8217;s the way you formatted the unpack object.<br />
for floating-point arguments try:</p>
<p>this.patcher.newdefault(272,90,&#8221;unpack&#8221;, &#8220;f&#8221;, &#8220;f&#8221;, &#8220;f&#8221;);</p>
<p>also, i guess you should better put your line inside a function, and  <br />
call that to execute it.</p>
<p>vol.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/connection-bug/#post-81496</guid>
					<title><![CDATA[Re: Connection Bug]]></title>
					<link>http://cycling74.com/forums/topic/connection-bug/#post-81496</link>
					<pubDate>Sun, 13 Aug 2006 12:11:32 +0000</pubDate>
					<dc:creator>Tarik</dc:creator>

					<description>
						<![CDATA[
						<p>Hah!</p>
<p>Great, it works like a charm now!</p>
<p>Thanks alot</p>
<p>&#8230;even though this connection-thing (described in the first message) is still bugging me.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/connection-bug/#post-81497</guid>
					<title><![CDATA[Re: Connection Bug]]></title>
					<link>http://cycling74.com/forums/topic/connection-bug/#post-81497</link>
					<pubDate>Sun, 13 Aug 2006 12:44:53 +0000</pubDate>
					<dc:creator>volker böhm</dc:creator>

					<description>
						<![CDATA[
						<p>
> &#8230;even though this connection-thing (described in the first  <br />
> message) is still bugging me.</p>
<p>as i said, it&#8217;s _not_ recommended to have a scripting command in the  <br />
global code of your js file.<br />
see &#8220;JavascriptInMax.pdf&#8221; p. 12:<br />
&#8220;&#8230; what not to do: refer to your object&#8217;s patcher&#8221;</p>
<p>stick it in a function definition and call it _once_. make your  <br />
connection and save the patch. that should work.</p>
<p>volker.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

