<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/cybotcompiler/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/cybotcompiler/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 11 Feb 2005 00:14:27 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cybotcompiler/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Class Light return defs in cycle.cyc</title><link>https://sourceforge.net/p/cybotcompiler/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I think the definitions of the values returned in the&lt;br /&gt;
Light class definition in the 0.0.2 release of cycle.cyc&lt;br /&gt;
are wrong.&lt;/p&gt;
&lt;p&gt;When I converted the 'squirrel' prigram from issue 71&lt;br /&gt;
to cycle code I neede to change cycle.cyc to get it&lt;br /&gt;
to work.  I found the when 1 is returned it corresponds&lt;br /&gt;
to equal light and when 2 is returned it is brighter on&lt;br /&gt;
cybot's&lt;br /&gt;
left side.  I have attached my program.&lt;/p&gt;
&lt;p&gt;I changed the Light class as follows:&lt;br /&gt;
class Light&lt;br /&gt;
{&lt;br /&gt;
// was   const LEFT  = 1;&lt;br /&gt;
const SAME  = 1;&lt;br /&gt;
// was   const SAME  = 2;&lt;br /&gt;
const LEFT  = 2;&lt;br /&gt;
const RIGHT = 3;&lt;/p&gt;
&lt;p&gt;// Returns 1 (left), 2 (same), 3 (right)  - Should&lt;br /&gt;
be 1 (same), 2 (left), 3 (right) ???&lt;br /&gt;
input{1,3} getStatus() : block( 10 );&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Light light;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Meggzie</dc:creator><pubDate>Fri, 11 Feb 2005 00:14:27 -0000</pubDate><guid>https://sourceforge.net1e9d801145965454f67f74cb396279fa6cd9e3d7</guid></item></channel></rss>