<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Yabasic 3</title>
	<atom:link href="http://yabasic.basicprogramming.org/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://yabasic.basicprogramming.org</link>
	<description>Yet Another BASIC</description>
	<lastBuildDate>Thu, 16 Feb 2012 05:39:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on An update by Thomas Larsen</title>
		<link>http://yabasic.basicprogramming.org/an-update/comment-page-1#comment-4416</link>
		<dc:creator>Thomas Larsen</dc:creator>
		<pubDate>Thu, 16 Feb 2012 05:39:28 +0000</pubDate>
		<guid isPermaLink="false">http://yabasic.basicprogramming.org/?p=592#comment-4416</guid>
		<description>Thanks, Marty, for your encouragement!

The current development versions of Yabasic don&#039;t have the underlying implementation that I laid out above. So you can&#039;t use, for example, &lt;code&gt;print items(&quot;orangeJuice&quot;)&lt;/code&gt; or &lt;code&gt;print a(&quot;b$&quot;)&lt;/code&gt; at the moment. I&#039;ve been doing some work on a crit-bit tree implementation which will allow for this kind of thing to be added to Yabasic very simply; and, in fact, crit-bit trees will almost certainly become the primary underlying data structure used by Yabasic. Hopefully I will be able to get a basic development release with this functionality out before the end of February.

Oh, and I do plan to make the &quot;$&quot; suffix optional.

Feel free to ask more questions; I don&#039;t mind at all!

Cheers.</description>
		<content:encoded><![CDATA[<p>Thanks, Marty, for your encouragement!</p>
<p>The current development versions of Yabasic don&#8217;t have the underlying implementation that I laid out above. So you can&#8217;t use, for example, <code>print items("orangeJuice")</code> or <code>print a("b$")</code> at the moment. I&#8217;ve been doing some work on a crit-bit tree implementation which will allow for this kind of thing to be added to Yabasic very simply; and, in fact, crit-bit trees will almost certainly become the primary underlying data structure used by Yabasic. Hopefully I will be able to get a basic development release with this functionality out before the end of February.</p>
<p>Oh, and I do plan to make the &#8220;$&#8221; suffix optional.</p>
<p>Feel free to ask more questions; I don&#8217;t mind at all!</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on An update by MartyB</title>
		<link>http://yabasic.basicprogramming.org/an-update/comment-page-1#comment-4388</link>
		<dc:creator>MartyB</dc:creator>
		<pubDate>Mon, 13 Feb 2012 10:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://yabasic.basicprogramming.org/?p=592#comment-4388</guid>
		<description>Thomas,

Thanks for your answer on keys, I appreciate that, and can wait.  [Sorry, missed that response until this morning.]

I look forward to being set straight in terms of syntax to deal with variable keys.

And, again, thanks for a good, solid Basic!

---Marty</description>
		<content:encoded><![CDATA[<p>Thomas,</p>
<p>Thanks for your answer on keys, I appreciate that, and can wait.  [Sorry, missed that response until this morning.]</p>
<p>I look forward to being set straight in terms of syntax to deal with variable keys.</p>
<p>And, again, thanks for a good, solid Basic!</p>
<p>&#8212;Marty</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on An update by MartyB</title>
		<link>http://yabasic.basicprogramming.org/an-update/comment-page-1#comment-4385</link>
		<dc:creator>MartyB</dc:creator>
		<pubDate>Mon, 13 Feb 2012 04:29:18 +0000</pubDate>
		<guid isPermaLink="false">http://yabasic.basicprogramming.org/?p=592#comment-4385</guid>
		<description>For the prior note - if &quot;key$&quot; had a way of being interpreted as a variable.  The use of it as a field name is also a good one, I&#039;m not trying to eliminate that.</description>
		<content:encoded><![CDATA[<p>For the prior note &#8211; if &#8220;key$&#8221; had a way of being interpreted as a variable.  The use of it as a field name is also a good one, I&#8217;m not trying to eliminate that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on An update by MartyB</title>
		<link>http://yabasic.basicprogramming.org/an-update/comment-page-1#comment-4384</link>
		<dc:creator>MartyB</dc:creator>
		<pubDate>Mon, 13 Feb 2012 04:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://yabasic.basicprogramming.org/?p=592#comment-4384</guid>
		<description>Thomas,

First and foremost, thanks for extending yabasic in the direction of tables/associative arrays/hashes....  I&#039;m playing with it in Linux (I don&#039;t have an environment that I can compile source for in Windows).

I&#039;m finding difficulty understanding what you&#039;ve done here.

It looks soooo promising, but when I build it in linux, I can do &#039;person.key$ = &quot;value&quot; &#039;, but key$ isn&#039;t a variable.  This made sense from your code post providing an example.  But if person.key$ is syntactic sugar for person(&quot;key$&quot;) = &quot;value&quot; - then I&#039;d expect to be able to do it, but it provided me with a syntax error.

To make this &quot;fully useful&quot; - I see a need to have the contents of a variable be used as a key, and some way to get a list of the keys for a particular variable.

Is this there, and I just don&#039;t understand?  Or planned?  Or am I missing something important.

Many thanks!

---Marty

PS:  The kind of thing I&#039;d look to do would be to store a file (say a .csv) as keys and values (say the first value of the .csv line is the key, and the rest of the line is the value).  Store these in a table for quick access.

At some point, I&#039;d like to retrieve these, but I need a way, for a given table, to get a list of the keys in the table.

It seems you are providing this functionality, but I&#039;m not quite understanding how it works.

For:

#!/usr/bin/yabasic3

key$   = &quot;54321&quot;
value$ = &quot;Bartels, Martin&quot;

person.key$ = value$
print person.key$

key$   = &quot;12345&quot;
value$ = &quot;Btfsplk, Joe&quot;
person.key$ = value$

print person.key$

key$ = &quot;54321&quot;

print person.key$

rem person(&quot;key$&quot;) = &quot;value&quot;

rem print person.key$

------

I get:

Bartels, Martin
Btfsplk, Joe
Btfsplk, Joe

It would be more useful if key$ were interpreted as a variable.  To that end, I attempted the remarked lines, but got &quot;synax error at end of line&quot;

If I&#039;m misunderstanding how this is supposed to work, please correct me.

Many Thanks!

---MartyB</description>
		<content:encoded><![CDATA[<p>Thomas,</p>
<p>First and foremost, thanks for extending yabasic in the direction of tables/associative arrays/hashes&#8230;.  I&#8217;m playing with it in Linux (I don&#8217;t have an environment that I can compile source for in Windows).</p>
<p>I&#8217;m finding difficulty understanding what you&#8217;ve done here.</p>
<p>It looks soooo promising, but when I build it in linux, I can do &#8216;person.key$ = &#8220;value&#8221; &#8216;, but key$ isn&#8217;t a variable.  This made sense from your code post providing an example.  But if person.key$ is syntactic sugar for person(&#8220;key$&#8221;) = &#8220;value&#8221; &#8211; then I&#8217;d expect to be able to do it, but it provided me with a syntax error.</p>
<p>To make this &#8220;fully useful&#8221; &#8211; I see a need to have the contents of a variable be used as a key, and some way to get a list of the keys for a particular variable.</p>
<p>Is this there, and I just don&#8217;t understand?  Or planned?  Or am I missing something important.</p>
<p>Many thanks!</p>
<p>&#8212;Marty</p>
<p>PS:  The kind of thing I&#8217;d look to do would be to store a file (say a .csv) as keys and values (say the first value of the .csv line is the key, and the rest of the line is the value).  Store these in a table for quick access.</p>
<p>At some point, I&#8217;d like to retrieve these, but I need a way, for a given table, to get a list of the keys in the table.</p>
<p>It seems you are providing this functionality, but I&#8217;m not quite understanding how it works.</p>
<p>For:</p>
<p>#!/usr/bin/yabasic3</p>
<p>key$   = &#8220;54321&#8243;<br />
value$ = &#8220;Bartels, Martin&#8221;</p>
<p>person.key$ = value$<br />
print person.key$</p>
<p>key$   = &#8220;12345&#8243;<br />
value$ = &#8220;Btfsplk, Joe&#8221;<br />
person.key$ = value$</p>
<p>print person.key$</p>
<p>key$ = &#8220;54321&#8243;</p>
<p>print person.key$</p>
<p>rem person(&#8220;key$&#8221;) = &#8220;value&#8221;</p>
<p>rem print person.key$</p>
<p>&#8212;&#8212;</p>
<p>I get:</p>
<p>Bartels, Martin<br />
Btfsplk, Joe<br />
Btfsplk, Joe</p>
<p>It would be more useful if key$ were interpreted as a variable.  To that end, I attempted the remarked lines, but got &#8220;synax error at end of line&#8221;</p>
<p>If I&#8217;m misunderstanding how this is supposed to work, please correct me.</p>
<p>Many Thanks!</p>
<p>&#8212;MartyB</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on An update by Thomas Larsen</title>
		<link>http://yabasic.basicprogramming.org/an-update/comment-page-1#comment-4281</link>
		<dc:creator>Thomas Larsen</dc:creator>
		<pubDate>Tue, 07 Feb 2012 10:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://yabasic.basicprogramming.org/?p=592#comment-4281</guid>
		<description>Marty, thanks for your interest! :smile: 

There will be a function, or some equivalent, to list the keys in a table. And, at this stage, the plan is for tables just to spring into existence when they are used for the first time; in other words, no variables will need to be predeclared---although, of course, local and static variables will have to be predeclared as such.</description>
		<content:encoded><![CDATA[<p>Marty, thanks for your interest! <img src='http://yabasic.basicprogramming.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' />  </p>
<p>There will be a function, or some equivalent, to list the keys in a table. And, at this stage, the plan is for tables just to spring into existence when they are used for the first time; in other words, no variables will need to be predeclared&#8212;although, of course, local and static variables will have to be predeclared as such.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on An update by MartyB</title>
		<link>http://yabasic.basicprogramming.org/an-update/comment-page-1#comment-4267</link>
		<dc:creator>MartyB</dc:creator>
		<pubDate>Mon, 06 Feb 2012 10:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://yabasic.basicprogramming.org/?p=592#comment-4267</guid>
		<description>I am very much looking forward to this release.  Adding &quot;hashes&quot; (associative arrays, tables, ...) to Basic is very very cool!

I hope that there will be some function provided to return a list of keys in a given table.  Also, how will tables be declared (DIM?  to what?)?  Or will they just spring into existence when &quot;an array&quot; with a non-integer subscript (or a.b notation) is refereced?

I use perl a lot, but the most important feature is hashes.

Thanks!  Yabasic is great, and is looking to become even better!</description>
		<content:encoded><![CDATA[<p>I am very much looking forward to this release.  Adding &#8220;hashes&#8221; (associative arrays, tables, &#8230;) to Basic is very very cool!</p>
<p>I hope that there will be some function provided to return a list of keys in a given table.  Also, how will tables be declared (DIM?  to what?)?  Or will they just spring into existence when &#8220;an array&#8221; with a non-integer subscript (or a.b notation) is refereced?</p>
<p>I use perl a lot, but the most important feature is hashes.</p>
<p>Thanks!  Yabasic is great, and is looking to become even better!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on From the desk of the documentation manager&#8230; by denykyo</title>
		<link>http://yabasic.basicprogramming.org/from-the-desk-of-the-documentation-manager/comment-page-1#comment-4264</link>
		<dc:creator>denykyo</dc:creator>
		<pubDate>Mon, 06 Feb 2012 08:31:01 +0000</pubDate>
		<guid isPermaLink="false">http://yabasic.basicprogramming.org/blog/?p=31#comment-4264</guid>
		<description>MBsiEL  &lt;a href=&quot;http://jimwmeuvsrra.com/&quot; rel=&quot;nofollow&quot;&gt;jimwmeuvsrra&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>MBsiEL  <a href="http://jimwmeuvsrra.com/" rel="nofollow">jimwmeuvsrra</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Structures in Yabasic 3 by Thomas Larsen</title>
		<link>http://yabasic.basicprogramming.org/structures-in-yabasic-3/comment-page-1#comment-4098</link>
		<dc:creator>Thomas Larsen</dc:creator>
		<pubDate>Sun, 22 Jan 2012 10:35:45 +0000</pubDate>
		<guid isPermaLink="false">http://yabasic.basicprogramming.org/blog/?p=9#comment-4098</guid>
		<description>Louis, what kind of game?</description>
		<content:encoded><![CDATA[<p>Louis, what kind of game?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Structures in Yabasic 3 by Thomas Larsen</title>
		<link>http://yabasic.basicprogramming.org/structures-in-yabasic-3/comment-page-1#comment-4097</link>
		<dc:creator>Thomas Larsen</dc:creator>
		<pubDate>Sun, 22 Jan 2012 10:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://yabasic.basicprogramming.org/blog/?p=9#comment-4097</guid>
		<description>Kate, sorry for the late reply! Pointer variables will probably have the same scope and lifetime as standard variables, except (maybe) if the values associated with the variables they point to are somehow freed.</description>
		<content:encoded><![CDATA[<p>Kate, sorry for the late reply! Pointer variables will probably have the same scope and lifetime as standard variables, except (maybe) if the values associated with the variables they point to are somehow freed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Structures in Yabasic 3 by Louis</title>
		<link>http://yabasic.basicprogramming.org/structures-in-yabasic-3/comment-page-1#comment-3993</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Wed, 11 Jan 2012 09:31:23 +0000</pubDate>
		<guid isPermaLink="false">http://yabasic.basicprogramming.org/blog/?p=9#comment-3993</guid>
		<description>Comment créer un jeu avec YaBasic?</description>
		<content:encoded><![CDATA[<p>Comment créer un jeu avec YaBasic?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

