<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Arrays in Small Basic</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/20/arrays-in-small-basic.aspx</link><description>With version 0.5, Small Basic implements native support for arrays. This is a significant change from how arrays were used in v0.4 and so I want to write about the syntax and the functionality of the new arrays. Any variable can be used as an array –</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Dew Drop &amp;#8211; Weekend Edition &amp;#8211; June 20-21, 2009 | Alvin Ashcraft's Morning Dew</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/20/arrays-in-small-basic.aspx#9793970</link><pubDate>Sat, 20 Jun 2009 23:19:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9793970</guid><dc:creator>Dew Drop &amp;#8211; Weekend Edition &amp;#8211; June 20-21, 2009 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.alvinashcraft.com/2009/06/20/dew-drop-weekend-edition-june-20-21-2009/"&gt;http://www.alvinashcraft.com/2009/06/20/dew-drop-weekend-edition-june-20-21-2009/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Arrays in Small Basic - Small Basic Blog</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/20/arrays-in-small-basic.aspx#9793991</link><pubDate>Sun, 21 Jun 2009 00:49:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9793991</guid><dc:creator>DotNetShoutout</dc:creator><description>&lt;p&gt;Thank you for submitting this cool story - Trackback from DotNetShoutout&lt;/p&gt;
</description></item><item><title>Small Basic : массивы</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/20/arrays-in-small-basic.aspx#9795133</link><pubDate>Sun, 21 Jun 2009 13:18:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9795133</guid><dc:creator>progg.ru</dc:creator><description>&lt;p&gt;Thank you for submitting this cool story - Trackback from progg.ru&lt;/p&gt;
</description></item><item><title>re: Arrays in Small Basic</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/20/arrays-in-small-basic.aspx#9817954</link><pubDate>Sun, 05 Jul 2009 09:15:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9817954</guid><dc:creator>Flight Computer</dc:creator><description>&lt;p&gt;Dear Small Basic Blog,&lt;/p&gt;
&lt;p&gt;Thank you for &amp;quot;Arrays in Small Basic&amp;quot;, it's very helpful considering that documentation and examples are sparce! &amp;nbsp;&lt;/p&gt;
&lt;p&gt;A document similiar to &amp;quot;Introducing Small Basic&amp;quot; (pdf) on &amp;quot;Data Structures and Algorithms in Small Basic&amp;quot; &amp;nbsp;would be Perfect!! &amp;nbsp;Also, how about &amp;quot;Design Patterns in Small Basic?&amp;quot;&lt;/p&gt;
&lt;p&gt;Would Microsoft's article on data structures in C# help here? &amp;nbsp;Yes, I think so!&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;
&lt;p&gt;Flight!&lt;/p&gt;
</description></item><item><title>re: Arrays in Small Basic</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/20/arrays-in-small-basic.aspx#9855706</link><pubDate>Sun, 02 Aug 2009 19:38:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9855706</guid><dc:creator>Public User</dc:creator><description>&lt;p&gt;I would like to second Mr. &amp;quot;Flight Computer&amp;quot; from Sunday, July 5, 2009 2:15 AM! &amp;nbsp;It is a shot in the dark after going through the &amp;quot;introducing small Basic&amp;quot; pdf file as to where to go next for furthr instruction to learn and share. &amp;nbsp;What next...?&lt;/p&gt;
&lt;p&gt;Overall, great starting program, just want to develop more not stop due to lack of further instruction etc..&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description></item><item><title>re: Arrays in Small Basic</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/20/arrays-in-small-basic.aspx#9871932</link><pubDate>Mon, 17 Aug 2009 04:28:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9871932</guid><dc:creator>XinhengWu</dc:creator><description>&lt;p&gt;I have read &amp;quot;introducing small Basic&amp;quot;. Is there any other related materials for learning small basic in a whole system?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description></item><item><title>re: Arrays in Small Basic</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/20/arrays-in-small-basic.aspx#9887264</link><pubDate>Thu, 27 Aug 2009 22:27:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9887264</guid><dc:creator>Vendel Miskei </dc:creator><description>&lt;p&gt;'DKZ463&lt;/p&gt;
&lt;p&gt;'************ &amp;nbsp; Miskei Vendel&lt;/p&gt;
&lt;p&gt;'************ &amp;nbsp;www.miskei.hu&lt;/p&gt;
&lt;p&gt;'************ &amp;nbsp; &amp;nbsp; &amp;nbsp; 2009&lt;/p&gt;
&lt;p&gt;GraphicsWindow.Title=&amp;quot;Winter&amp;quot;&lt;/p&gt;
&lt;p&gt;GraphicsWindow.Width=640&lt;/p&gt;
&lt;p&gt;GraphicsWindow.Height=480&lt;/p&gt;
&lt;p&gt;pic = Flickr.GetRandomPicture(&amp;quot;Winter&amp;quot;)&lt;/p&gt;
&lt;p&gt;GraphicsWindow.DrawResizedImage(pic, 0, 0, 640, 480)&lt;/p&gt;
&lt;p&gt;GraphicsWindow.DrawBoundText(530,460,110,&amp;quot;www.miskei.hu&amp;quot;)&lt;/p&gt;
&lt;p&gt;gw =640 &lt;/p&gt;
&lt;p&gt;gh =480 &lt;/p&gt;
&lt;p&gt;For i=1 To 50&lt;/p&gt;
&lt;p&gt; &amp;nbsp;ho=i/6+1&lt;/p&gt;
&lt;p&gt; &amp;nbsp;GraphicsWindow.BrushColor = &amp;quot;#ffffff&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;GraphicsWindow.PenColor=&amp;quot;#ffffff&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;ball[i] = Shapes.AddEllipse(ho, ho)&lt;/p&gt;
&lt;p&gt; &amp;nbsp;x[i] = Math.GetRandomNumber(600)+20&lt;/p&gt;
&lt;p&gt; &amp;nbsp;y[i] = Math.GetRandomNumber(460)+10&lt;/p&gt;
&lt;p&gt;EndFor&lt;/p&gt;
&lt;p&gt;RunLoop:&lt;/p&gt;
&lt;p&gt;For i=1 To 50&lt;/p&gt;
&lt;p&gt;dX[i] = 2*Math.GetRandomNumber(2)-2&lt;/p&gt;
&lt;p&gt;dY[i] = 2*Math.GetRandomNumber(2)&lt;/p&gt;
&lt;p&gt;If i&amp;lt;20 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp;dy[i]=dy[i]-2&lt;/p&gt;
&lt;p&gt;EndIf&lt;/p&gt;
&lt;p&gt;x[i] = x[i] + dX[i]&lt;/p&gt;
&lt;p&gt;y[i] = y[i] + dY[i]&lt;/p&gt;
&lt;p&gt;If y[i]&amp;gt;=gh Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp;y[i] = -20&lt;/p&gt;
&lt;p&gt; &amp;nbsp;x[i] = Math.GetRandomNumber(600)+20&lt;/p&gt;
&lt;p&gt;EndIf&lt;/p&gt;
&lt;p&gt;Shapes.Move(ball[i], x[i], y[i])&lt;/p&gt;
&lt;p&gt;EndFor&lt;/p&gt;
&lt;p&gt;Goto RunLoop&lt;/p&gt;
</description></item></channel></rss>