<?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: rules and bug of function declared in codebox ?</title>
		<atom:link href="http://cycling74.com/forums/topic/rules-and-bug-of-function-declared-in-codebox/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/rules-and-bug-of-function-declared-in-codebox/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 19:00:15 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/rules-and-bug-of-function-declared-in-codebox/#post-39894</guid>
					<title><![CDATA[rules and bug of function declared in codebox ?]]></title>
					<link>http://cycling74.com/forums/topic/rules-and-bug-of-function-declared-in-codebox/#post-39894</link>
					<pubDate>Thu, 28 Jun 2012 21:33:31 +0000</pubDate>
					<dc:creator>stygmate</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,</p>
<p>I&#8217;m really disappointed with the declaration and use of function inside gen.<br />
as an exemple, using more than one time some function go to strange instance bug (maybe): SomeFunction_xxxx &#8230;. error&#8230;<br />
some other don&#8217;t compile without any error message &#8230;. only a generic compile error in max window.</p>
<p>Some extra doc and known bug to help me ?</p>
<p>Benjamin.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/rules-and-bug-of-function-declared-in-codebox/#post-140657</guid>
					<title><![CDATA[Re: rules and bug of function declared in codebox ?]]></title>
					<link>http://cycling74.com/forums/topic/rules-and-bug-of-function-declared-in-codebox/#post-140657</link>
					<pubDate>Thu, 28 Jun 2012 21:37:43 +0000</pubDate>
					<dc:creator>Wesley Smith</dc:creator>

					<description>
						<![CDATA[
						<p>If you could post a patch, that would be really helpful.  Otherwise we have no idea what you&#8217;re doing. thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/rules-and-bug-of-function-declared-in-codebox/#post-140658</guid>
					<title><![CDATA[Re: rules and bug of function declared in codebox ?]]></title>
					<link>http://cycling74.com/forums/topic/rules-and-bug-of-function-declared-in-codebox/#post-140658</link>
					<pubDate>Fri, 29 Jun 2012 09:49:52 +0000</pubDate>
					<dc:creator>stygmate</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,</p>
<p>I don&#8217;t want to let my code out, so i wrote an example:</p>
<pre><code>{
	"boxes" : [ 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "gen~",
				"fontsize" : 12.0,
				"numinlets" : 1,
				"patching_rect" : [ 272.0, 150.0, 38.0, 20.0 ],
				"id" : "obj-1",
				"numoutlets" : 1,
				"fontname" : "Arial",
				"outlettype" : [ "signal" ],
				"patcher" : 				{
					"fileversion" : 1,
					"appversion" : 					{
						"major" : 6,
						"minor" : 0,
						"revision" : 5
					}
,
					"rect" : [ 50.0, 94.0, 600.0, 450.0 ],
					"bgcolor" : [ 0.9, 0.9, 0.9, 1.0 ],
					"bglocked" : 0,
					"openinpresentation" : 0,
					"default_fontsize" : 12.0,
					"default_fontface" : 0,
					"default_fontname" : "Arial",
					"gridonopen" : 0,
					"gridsize" : [ 15.0, 15.0 ],
					"gridsnaponopen" : 0,
					"statusbarvisible" : 2,
					"toolbarvisible" : 1,
					"boxanimatetime" : 200,
					"imprint" : 0,
					"enablehscroll" : 1,
					"enablevscroll" : 1,
					"devicewidth" : 0.0,
					"description" : "",
					"digest" : "",
					"tags" : "",
					"title" : "untitled",
					"boxes" : [ 						{
							"box" : 							{
								"maxclass" : "codebox",
								"fontsize" : 12.0,
								"numinlets" : 1,
								"patching_rect" : [ 120.0, 92.0, 311.0, 252.0 ],
								"id" : "obj-5",
								"numoutlets" : 1,
								"fontname" : "Arial",
								"outlettype" : [ "" ],
								"code" : "osc(zemax)rn{rntHistory pos;rntoutput = pos;rntpos = (pos + 1) % zemax;rntreturn output;rn}rnrnParam ParamZeMax(0.);rnrnout1 = osc(ParamZeMax)+osc(ParamZeMax+1);"
							}

						}
, 						{
							"box" : 							{
								"maxclass" : "newobj",
								"text" : "in 1",
								"fontsize" : 12.0,
								"numinlets" : 0,
								"patching_rect" : [ 50.0, 14.0, 30.0, 20.0 ],
								"id" : "obj-1",
								"numoutlets" : 1,
								"fontname" : "Arial",
								"outlettype" : [ "" ]
							}

						}
, 						{
							"box" : 							{
								"maxclass" : "newobj",
								"text" : "out 1",
								"fontsize" : 12.0,
								"numinlets" : 1,
								"patching_rect" : [ 176.0, 418.0, 37.0, 20.0 ],
								"id" : "obj-4",
								"numoutlets" : 0,
								"fontname" : "Arial"
							}

						}
 ],
					"lines" : [ 						{
							"patchline" : 							{
								"source" : [ "obj-5", 0 ],
								"destination" : [ "obj-4", 0 ],
								"hidden" : 0,
								"disabled" : 0
							}

						}
 ],
					"dependency_cache" : [ 						{
							"name" : "codebox.mxo",
							"type" : "iLaX"
						}
 ]
				}

			}

		}
 ],
	"appversion" : 	{
		"major" : 6,
		"minor" : 0,
		"revision" : 5
	}

}</code></pre>						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/rules-and-bug-of-function-declared-in-codebox/#post-140659</guid>
					<title><![CDATA[Re: rules and bug of function declared in codebox ?]]></title>
					<link>http://cycling74.com/forums/topic/rules-and-bug-of-function-declared-in-codebox/#post-140659</link>
					<pubDate>Fri, 29 Jun 2012 15:19:04 +0000</pubDate>
					<dc:creator>Wesley Smith</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the example.  There is no error in your code.  We&#8217;ve been working very hard on improving Gen.  It was a bug that has already been found and squashed.  When the next release somes out, this will work.  Feel free to message me privately if you want me to test with the real example.  Also, if you have any questions about things, particularly due to sparse documentation, please ask away.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

