<?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/kidbasic/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/kidbasic/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 22 Apr 2026 13:37:48 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/kidbasic/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#29 Update Russian translation</title><link>https://sourceforge.net/p/kidbasic/bugs/29/?limit=25#8f7d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Update for 2.0.99.10&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alevtina Karashokova</dc:creator><pubDate>Wed, 22 Apr 2026 13:37:48 -0000</pubDate><guid>https://sourceforge.netccd1ba549ad6916eb072a984eae7c8134f72fc72</guid></item><item><title>#29 Update Russian translation</title><link>https://sourceforge.net/p/kidbasic/bugs/29/?limit=25#ddda</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Reneau</dc:creator><pubDate>Wed, 03 Sep 2025 03:28:16 -0000</pubDate><guid>https://sourceforge.netc7733fee047031ad1962f409a0241d8a2bb3de45</guid></item><item><title>#29 Update Russian translation</title><link>https://sourceforge.net/p/kidbasic/bugs/29/?limit=25#3eab</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Pushed to SVN R970&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Reneau</dc:creator><pubDate>Wed, 03 Sep 2025 03:27:50 -0000</pubDate><guid>https://sourceforge.netb8c5c483299ce8092affa3309a10b6b3113364c7</guid></item><item><title>#81 No way to check if a map already contains a key</title><link>https://sourceforge.net/p/kidbasic/bugs/81/?limit=25#5ffe</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;After some searching in the code, I found that the "in" operator does what I want, e.g.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;not&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'d'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;a&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;then&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;print&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"no such key"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Unfortunately this use of "in" is not documented, but as far as code changes, the issue can be closed.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacob Minsky</dc:creator><pubDate>Sun, 12 May 2024 21:55:28 -0000</pubDate><guid>https://sourceforge.netabe26a8f45185e708e0ebe85a0775dfe955f956d</guid></item><item><title>No way to check if a map already contains a key</title><link>https://sourceforge.net/p/kidbasic/bugs/81/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There seems to be no way to check if a map key is defined. For example,&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;map a
a['c'] = 3
print a['b']
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;produces "ERROR on line 3: Map key does not exist.". &lt;/p&gt;
&lt;p&gt;The problem is that there is no way to check if the key is defined before accessing it. That's a very big limitation on the use of map, it's not really possible to use it in most algorithms. &lt;/p&gt;
&lt;p&gt;Proposal: we could make it work with code like &lt;/p&gt;
&lt;p&gt;&lt;code&gt;if typeof(a['b']) = type_unassigned then print "key not found"&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Currently, this fails because the error would be thrown before the comparison. That can be fixed by removing the line &lt;br/&gt;
&lt;code&gt;if (DataElement::getError()) {error-&amp;gt;q(DataElement::getError(true),i);}&lt;/code&gt;&lt;br/&gt;
around line 1812 of Interpreter.cpp.  This will let the returned element be of type &lt;code&gt;type_unassigned&lt;/code&gt; and the &lt;code&gt;typeof&lt;/code&gt; statement above would work. That's possibly not ideal, since we would also allow statements like &lt;code&gt;c=a['no_key']&lt;/code&gt; which would make c of unassigned type, so it would fail on a later line rather than immediately. &lt;/p&gt;
&lt;p&gt;A more sophisticated implementation could allow &lt;code&gt;a['no_key']&lt;/code&gt; &lt;strong&gt;&lt;em&gt;only&lt;/em&gt;&lt;/strong&gt; within a &lt;code&gt;typeof&lt;/code&gt; statement. &lt;/p&gt;
&lt;p&gt;Thoughts? Or am I completely missing some way to check if a map has a key?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacob Minsky</dc:creator><pubDate>Sun, 12 May 2024 19:17:12 -0000</pubDate><guid>https://sourceforge.nete6ed9a9dfe58ba3d8e3ca91a853664d9422aabc2</guid></item><item><title>Enable compiling on windows without MinGW</title><link>https://sourceforge.net/p/kidbasic/bugs/80/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Only a few things are needed to enable compiling on Windows with Visual Studio without MinGW:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Include a version of dirent.h&lt;/li&gt;
&lt;li&gt;change some syntax which is not supported by VS to simpler syntax&lt;/li&gt;
&lt;li&gt;Some options&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Compiling with Visual Studio makes it much easier to debug on Windows - using the regular VS debugger.&lt;/p&gt;
&lt;p&gt;I have all the changes needed to enable this, but it would be somewhat inconvenient to post here as a diff. Maybe I can attach it as a file?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacob Minsky</dc:creator><pubDate>Wed, 03 Apr 2024 22:12:28 -0000</pubDate><guid>https://sourceforge.nete10654f297a8830110c2ae1a6422355c45765e2a</guid></item><item><title>#79 QT issue  - scaling problems on high dpi displays</title><link>https://sourceforge.net/p/kidbasic/bugs/79/?limit=25#09e4</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Reneau</dc:creator><pubDate>Wed, 03 Apr 2024 20:36:02 -0000</pubDate><guid>https://sourceforge.net0d617777e8d7137cf148f8076812f7f2d3c5db56</guid></item><item><title>#75 troublesome problems...</title><link>https://sourceforge.net/p/kidbasic/bugs/75/?limit=25#3dcf/1c89/743b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Jim, I still get the console window when compiling from latest source (on Windows). I believe this is what controls this, in BASIC256.pro on line 19:&lt;/p&gt;
&lt;p&gt;CONFIG                          +=   console&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacob Minsky</dc:creator><pubDate>Wed, 03 Apr 2024 19:35:55 -0000</pubDate><guid>https://sourceforge.net1e17f6e03836b7d67557a3ccfa82e274f6e595dc</guid></item><item><title>#78 Debugging does not work with references</title><link>https://sourceforge.net/p/kidbasic/bugs/78/?limit=25#87f6</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Reneau</dc:creator><pubDate>Wed, 03 Apr 2024 19:24:59 -0000</pubDate><guid>https://sourceforge.net43a1c63384e37564b40fd70f86039f80b5bc2b8a</guid></item><item><title>#78 Debugging does not work with references</title><link>https://sourceforge.net/p/kidbasic/bugs/78/?limit=25#b571</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Updated to source 2.0.99.9 (959)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Reneau</dc:creator><pubDate>Wed, 03 Apr 2024 19:24:45 -0000</pubDate><guid>https://sourceforge.net84dc4e761faf831962f5ff6b1e69e7ab5334a784</guid></item></channel></rss>