<?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>Small Basic</title><link>http://blogs.msdn.com/smallbasic/default.aspx</link><description /><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Small Basic Programs in 25 lines</title><link>http://blogs.msdn.com/smallbasic/archive/2009/11/15/small-basic-programs-in-25-lines.aspx</link><pubDate>Sun, 15 Nov 2009 00:52:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9922554</guid><dc:creator>vijayeg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9922554.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9922554</wfw:commentRss><description>&lt;blockquote style="border-bottom: #999999 1px solid; border-left: #999999 1px solid; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; border-top: #999999 1px solid; border-right: #999999 1px solid; padding-top: 4px"&gt;   &lt;p&gt;Note: All the programs listed below can be downloaded directly into Small Basic.&amp;#160; Just import the programs using their published Id.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;What started as a fun challenge in our &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/f88b5a73-c588-47c0-81cb-7a73c2a93782"&gt;Small Basic Forums&lt;/a&gt;, quickly turned into a repository of very interesting programs, all conforming to a 25-line limit.&amp;#160; It is amazing to see enthusiastic participants come up with very creative patterns to embed complex logic in as few lines as possible.&lt;/p&gt;  &lt;p&gt;The challenge started with the classic game of Rock/Paper/Scissors, written in 24 lines by &lt;a href="http://social.msdn.microsoft.com/Profile/en-US/?user=Coding%20Cat&amp;amp;referrer=http%3a%2f%2fsocial.msdn.microsoft.com%2fForums%2fen-US%2fsmallbasic%2fthread%2ff88b5a73-c588-47c0-81cb-7a73c2a93782&amp;amp;rh=7sIYbvMLdXEnW5BAvX%2b%2bUenikls33meSiQI0%2bTCQXXM%3d&amp;amp;sp=forums"&gt;Coding Cat&lt;/a&gt; and published as &lt;strong&gt;CTB433&lt;/strong&gt;.&amp;#160; This was meant to be just an example for the challenge, but within days, &lt;a href="http://social.msdn.microsoft.com/Profile/en-US/?user=Jason%20Jacques&amp;amp;referrer=http%3a%2f%2fsocial.msdn.microsoft.com%2fForums%2fen-US%2fsmallbasic%2fthread%2ff88b5a73-c588-47c0-81cb-7a73c2a93782&amp;amp;rh=7sIYbvMLdXEnW5BAvX%2b%2bUenikls33meSiQI0%2bTCQXXM%3d&amp;amp;sp=forums"&gt;Jason Jacques&lt;/a&gt; posted a 9 line version of the same program, published as &lt;strong&gt;CTB433-1&lt;/strong&gt;.&amp;#160; And the race was on.&lt;/p&gt;  &lt;p&gt;Recently &lt;a href="http://social.msdn.microsoft.com/Profile/en-US/?user=Rushworks&amp;amp;referrer=http%3a%2f%2fsocial.msdn.microsoft.com%2fForums%2fen-US%2fsmallbasic%2fthread%2ff88b5a73-c588-47c0-81cb-7a73c2a93782&amp;amp;rh=7sIYbvMLdXEnW5BAvX%2b%2bUenikls33meSiQI0%2bTCQXXM%3d&amp;amp;sp=forums"&gt;Rushworks&lt;/a&gt; posted a trick to initialize Small Basic arrays in a single line.&amp;#160; Hours later, &lt;a href="http://social.msdn.microsoft.com/Profile/en-US/?user=Davey-Wavey&amp;amp;referrer=http%3a%2f%2fsocial.msdn.microsoft.com%2fForums%2fen-US%2fsmallbasic%2fthread%2ff88b5a73-c588-47c0-81cb-7a73c2a93782&amp;amp;rh=7sIYbvMLdXEnW5BAvX%2b%2bUenikls33meSiQI0%2bTCQXXM%3d&amp;amp;sp=forums"&gt;Davey-Wavey&lt;/a&gt; came up with a feature-par version of the original Rock/Paper/Scissors in &lt;strong&gt;3 lines flat&lt;/strong&gt;!&amp;#160; This version is published as &lt;strong&gt;CTB433-2&lt;/strong&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_1_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="25line_1" border="0" alt="25line_1" src="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_1_thumb_1.png" width="240" height="91" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;And using a few tricks and assumptions about the size of the text window, Jason came back and posted the same program in just &lt;strong&gt;2 lines!&lt;/strong&gt;&amp;#160; It is published as &lt;strong&gt;CTB433-5&lt;/strong&gt;. &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;As this race was going on, &lt;a href="http://social.msdn.microsoft.com/Profile/en-US/?user=litdev&amp;amp;referrer=http%3a%2f%2fsocial.msdn.microsoft.com%2fForums%2fen-US%2fsmallbasic%2fthread%2ff88b5a73-c588-47c0-81cb-7a73c2a93782&amp;amp;rh=7sIYbvMLdXEnW5BAvX%2b%2bUenikls33meSiQI0%2bTCQXXM%3d&amp;amp;sp=forums"&gt;litdev&lt;/a&gt; published the Swarm of Bees as &lt;strong&gt;MSH031&lt;/strong&gt; in 25 lines.&lt;a href="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_2_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="25line_2" border="0" alt="25line_2" src="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_2_thumb.png" width="240" height="180" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Simultaneously, &lt;a href="http://social.msdn.microsoft.com/Profile/en-US/?user=Dudeson&amp;amp;referrer=http%3a%2f%2fsocial.msdn.microsoft.com%2fForums%2fen-US%2fsmallbasic%2fthread%2ff88b5a73-c588-47c0-81cb-7a73c2a93782&amp;amp;rh=7sIYbvMLdXEnW5BAvX%2b%2bUenikls33meSiQI0%2bTCQXXM%3d&amp;amp;sp=forums"&gt;Dudeson&lt;/a&gt; published a similar program, &lt;strong&gt;RRS083&lt;/strong&gt; which simulates an atom with the mouse center as the nucleus.&amp;#160; And Grzegorz Tworek, published his Lissajou’s Curve simulator program as &lt;strong&gt;GQP876&lt;/strong&gt;, in 11 lines.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_3_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="25line_3" border="0" alt="25line_3" src="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_3_thumb.png" width="232" height="240" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Dudeson went back and improved his atom code to publish &lt;strong&gt;RPW587&lt;/strong&gt;, which runs much faster.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_4_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="25line_4" border="0" alt="25line_4" src="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_4_thumb.png" width="240" height="204" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Other programs that you’ll find on this forum:&lt;/p&gt;  &lt;h3&gt;Sudoku Solver &lt;/h3&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;(25 lines)     &lt;br /&gt;by Jason Jacques: &lt;strong&gt;CGW786&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_5_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="25line_5" border="0" alt="25line_5" src="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_5_thumb.png" width="240" height="91" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;h3&gt;Sub Hunt&lt;/h3&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;(25 lines)     &lt;br /&gt;by Coding Cat: &lt;strong&gt;KDN168      &lt;br /&gt;&lt;/strong&gt;also by Davey-Wavey: &lt;strong&gt;KDN168-0&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;a href="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_6_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="25line_6" border="0" alt="25line_6" src="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_6_thumb.png" width="228" height="240" /&gt;&lt;/a&gt; &lt;/strong&gt;&lt;/p&gt;  &lt;h3&gt;Space Invaders&lt;/h3&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;(20 lines)     &lt;br /&gt;by Davey-Wavey: &lt;strong&gt;XDK444&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_7_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="25line_7" border="0" alt="25line_7" src="http://blogs.msdn.com/blogfiles/smallbasic/WindowsLiveWriter/SmallBasicProgramsin25lines_ED4A/25line_7_thumb.png" width="240" height="180" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9922554" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/smallbasic/archive/tags/sample/default.aspx">sample</category></item><item><title>Graduating from Small Basic</title><link>http://blogs.msdn.com/smallbasic/archive/2009/10/25/graduating-from-small-basic.aspx</link><pubDate>Sun, 25 Oct 2009 21:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9912694</guid><dc:creator>vijayeg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9912694.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9912694</wfw:commentRss><description>&lt;P&gt;You probably have heard of the "Graduate" feature introduced with the Small Basic v0.7.&amp;nbsp; If you haven't - you should check it out - it allows you to convert any Small Basic program into an equivalent Visual Basic program, allowing you to gently ramp up to the full power of a professional programming language.&lt;/P&gt;
&lt;P&gt;Here's how it works.&amp;nbsp; You start with a program you wrote or opened or imported.&amp;nbsp; In this case, let's import "TETRIS" from the web.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://smallbasic.com/drop/graduate_post_1.png" mce_src="http://smallbasic.com/drop/graduate_post_1.png"&gt;&lt;/P&gt;
&lt;P&gt;When run, this should pop-up a fully playable Tetris game.&amp;nbsp; &lt;/P&gt;&lt;IMG src="http://smallbasic.com/drop/tetris.png"&gt; 
&lt;P&gt;When we hit the "Graduate" button on the toolbar, we are presented with this friendly wizard which asks for the location to put the converted Visual Basic project.&lt;/P&gt;&lt;IMG src="http://smallbasic.com/drop/graduate_post_2.png"&gt; 
&lt;P mce_keep="true"&gt;Once we pick a location and hit Continue, we should see Visual Basic should launch with the Tetris program.&lt;/P&gt;&lt;IMG src="http://smallbasic.com/drop/graduate_post_3.png"&gt; 
&lt;P mce_keep="true"&gt;If you don't have Visual Basic installed on your machine, you would see this page on the wizard:&lt;/P&gt;&lt;IMG src="http://smallbasic.com/drop/graduate_post_4.png"&gt; 
&lt;P mce_keep="true"&gt;The link (&lt;A href="http://microsoft.com/express/vb"&gt;http://microsoft.com/express/vb&lt;/A&gt;) allows you to download a free version of Visual Basic that is compatible with Small Basic.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9912694" width="1" height="1"&gt;</description></item><item><title>Happy Birthday Small Basic</title><link>http://blogs.msdn.com/smallbasic/archive/2009/10/23/happy-birthday-small-basic.aspx</link><pubDate>Fri, 23 Oct 2009 17:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9912173</guid><dc:creator>vijayeg</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9912173.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9912173</wfw:commentRss><description>&lt;P&gt;Marking the first year anniversary since it went public, we're announcing the 7th release of Small Basic CTP.&amp;nbsp; This release adds localized support to four new languages, extending Small Basic's reach to Chinese, French, German, Italian, Korean, Russian, Spanish and Turkish!&lt;/P&gt;
&lt;P&gt;In addition, this release sports a cool new feature called "Graduate", that allows you to port your Small Basic program seamlessly to Visual Basic.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://smallbasic.com/drop/graduate.png" mce_src="http://smallbasic.com/drop/graduate.png"&gt;&lt;/P&gt;&lt;A style="FONT-SIZE: 20px" href="http://download.microsoft.com/download/C/A/F/CAF9E062-94D3-4003-80D9-44CDF7EC7BD9/SmallBasic.msi"&gt;Download v0.7 here&lt;/A&gt; 
&lt;P&gt;In addition, this version also comes with the following much requested features and bug-fixes:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;A helpful crash reporting dialog that pops-up whenever your program crashes&lt;/LI&gt;
&lt;LI&gt;Fixes to Scrollbar size to make it easier to find in huge documents&lt;/LI&gt;
&lt;LI&gt;Fixed crash when a specified image cannot be loaded&lt;/LI&gt;
&lt;LI&gt;Fix for foreign keyboards not being able to use AltGr&lt;/LI&gt;
&lt;LI&gt;Opacity and Visibility properties for Shapes&lt;/LI&gt;
&lt;LI&gt;Make comments and objects more differentiated in syntax color&lt;/LI&gt;&lt;/OL&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9912173" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/smallbasic/archive/tags/release/default.aspx">release</category></item><item><title>Sample of the Week - SOko</title><link>http://blogs.msdn.com/smallbasic/archive/2009/10/02/sample-of-the-week-soko.aspx</link><pubDate>Fri, 02 Oct 2009 09:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9902236</guid><dc:creator>vijayeg</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9902236.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9902236</wfw:commentRss><description>&lt;P&gt;This week's Small Basic sample of the week comes from &lt;A href="http://social.msdn.microsoft.com/Profile/en-US/?user=kts99" mce_href="http://social.msdn.microsoft.com/Profile/en-US/?user=kts99"&gt;kts99&lt;/A&gt;&amp;nbsp;who has written this beautiful game, SOko Cute.&amp;nbsp; This is one of the first samples that make great use of the Shapes.Rotate and Shapes.Zoom APIs.&amp;nbsp; You can check out this game in Small Basic by importing program id: &lt;STRONG&gt;SOKO&lt;/STRONG&gt;.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Program listing can be found at: &lt;A href="http://smallbasic.com/program/?SOKO"&gt;http://smallbasic.com/program/?SOKO&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG border=1 src="http://smallbasic.com/drop/soko1.png"&gt; &lt;IMG border=1 src="http://smallbasic.com/drop/soko2.png"&gt; &lt;/P&gt;
&lt;P&gt;You can download Small Basic for free at &lt;A href="http://smallbasic.com/"&gt;http://smallbasic.com/&lt;/A&gt;, to try this sample and more.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9902236" width="1" height="1"&gt;</description></item><item><title>Collision Physics With Small Basic</title><link>http://blogs.msdn.com/smallbasic/archive/2009/09/11/collision-physics-with-small-basic.aspx</link><pubDate>Fri, 11 Sep 2009 09:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9894052</guid><dc:creator>vijayeg</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9894052.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9894052</wfw:commentRss><description>&lt;P&gt;&lt;A href="http://social.msdn.microsoft.com/Profile/en-US/?user=litdev" mce_href="http://social.msdn.microsoft.com/Profile/en-US/?user=litdev"&gt;LitDev&lt;/A&gt; is an expert in real-world physics programming, and he frequents the &lt;A href="http://social.msdn.microsoft.com/Forums/en-US/smallbasic/threads?prof=required" mce_href="http://social.msdn.microsoft.com/Forums/en-US/smallbasic/threads?prof=required"&gt;Small Basic forums&lt;/A&gt; providing answers to people's queries.&amp;nbsp; One of his sample programs, the collision box,&amp;nbsp;best demonstrates the expertise of LitDev and capabilities of Small Basic.&lt;/P&gt;
&lt;P&gt;This program can be directly imported into Small Basic by using the ID: &lt;STRONG&gt;PMT149&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://smallbasic.com/drop/collision.png"&gt;&lt;/P&gt;
&lt;P&gt;The program provides all the interesting knobs and you can even click on the balls to stop them.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9894052" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/smallbasic/archive/tags/sample/default.aspx">sample</category></item><item><title>Now available: Small Basic v0.6</title><link>http://blogs.msdn.com/smallbasic/archive/2009/08/19/now-available-small-basic-v0-6.aspx</link><pubDate>Wed, 19 Aug 2009 20:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9875807</guid><dc:creator>vijayeg</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9875807.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9875807</wfw:commentRss><description>&lt;P&gt;We have a new version of Small Basic for download at&amp;nbsp;&lt;A href="http://smallbasic.com/"&gt;http://smallbasic.com&lt;/A&gt;.&amp;nbsp; This release adds German localization on top of existing French, Spanish and Russian.&lt;/P&gt;
&lt;P&gt;Also, this release&amp;nbsp;sports a lot of small bug-fixes and some most requested features:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Updated the manual to include a chapter on Arrays&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Added Zoom capabilities to Shape&lt;/LI&gt;
&lt;LI&gt;Added Arc Trigonometric operations in the Math object&lt;/LI&gt;
&lt;LI&gt;Removed Arguments object and moved the functionality into Program object&lt;/LI&gt;
&lt;LI&gt;GetAllIndices operation on Array allows iteration on top of all array values&lt;/LI&gt;
&lt;LI&gt;Added ElapsedMilliseconds to&amp;nbsp;help measure time&lt;/LI&gt;
&lt;LI&gt;Added TextInput events, to help write text input features on GraphicsWindow&lt;/LI&gt;
&lt;LI&gt;Fixed crashes related to event subscription&lt;/LI&gt;
&lt;LI&gt;Fixed cursor visibility issues&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;When you have downloaded and installed, import &lt;STRONG&gt;STARGATES&lt;/STRONG&gt; and try out the fun game.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9875807" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/smallbasic/archive/tags/release/default.aspx">release</category></item><item><title>"Introducing Small Basic" manual available in German</title><link>http://blogs.msdn.com/smallbasic/archive/2009/07/29/introducing-small-basic-manual-available-in-german.aspx</link><pubDate>Wed, 29 Jul 2009 02:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9851509</guid><dc:creator>vijayeg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9851509.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9851509</wfw:commentRss><description>&lt;P&gt;Download from: &lt;A href="http://download.microsoft.com/download/9/2/1/921D10C7-75C0-4395-93AF-49A830F4780E/Small%20Basic%20Einfuehrung.pdf" mce_href="http://download.microsoft.com/download/9/2/1/921D10C7-75C0-4395-93AF-49A830F4780E/Small Basic Einfuehrung.pdf"&gt;http://download.microsoft.com/download/9/2/1/921D10C7-75C0-4395-93AF-49A830F4780E/Small Basic Einfuehrung.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9851509" width="1" height="1"&gt;</description></item><item><title>Star Gates: Sample of the Week</title><link>http://blogs.msdn.com/smallbasic/archive/2009/07/16/star-gates-sample-of-the-week.aspx</link><pubDate>Thu, 16 Jul 2009 05:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9834988</guid><dc:creator>vijayeg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9834988.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9834988</wfw:commentRss><description>&lt;P&gt;This week's sample is an adventure in Space - a game called Star Gates, developed by &lt;A href="http://social.msdn.microsoft.com/Profile/en-US/?user=bigdaddyo" mce_href="http://social.msdn.microsoft.com/Profile/en-US/?user=bigdaddyo"&gt;BigDaddyo&lt;/A&gt;.&amp;nbsp; This exciting and fun game takes game programming in Small Basic to the next level - with amazing sound and graphics effects.&amp;nbsp; You can find the program listing at: &lt;A href="http://smallbasic.com/program/?STARGATES"&gt;http://smallbasic.com/program/?STARGATES&lt;/A&gt;.&amp;nbsp; You can also download this program directly into Small Basic by using the Import ID: &lt;STRONG&gt;STARGATES&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Download Small Basic: &lt;A href="http://smallbasic.com/"&gt;http://smallbasic.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://smallbasic.com/drop/stargates1.png" mce_src="http://smallbasic.com/drop/stargates1.png"&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://smallbasic.com/drop/stargates2.png" mce_src="http://smallbasic.com/drop/stargates2.png"&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://smallbasic.com/drop/stargates3.png" mce_src="http://smallbasic.com/drop/stargates3.png"&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9834988" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/smallbasic/archive/tags/sample/default.aspx">sample</category></item><item><title>Sample of the week: Gorillas</title><link>http://blogs.msdn.com/smallbasic/archive/2009/07/01/sample-of-the-week-gorillas.aspx</link><pubDate>Wed, 01 Jul 2009 18:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9811316</guid><dc:creator>vijayeg</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9811316.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9811316</wfw:commentRss><description>&lt;P&gt;About 20 years ago, Microsoft released MS-DOS 5, and with it shipped a programming language called &lt;A href="http://en.wikipedia.org/wiki/QBASIC" mce_href="http://en.wikipedia.org/wiki/QBASIC"&gt;QBASIC&lt;/A&gt;.&amp;nbsp; One of the samples that came with QBASIC is &lt;A href="http://en.wikipedia.org/wiki/Gorillas_(computer_game)" mce_href="http://en.wikipedia.org/wiki/Gorillas_(computer_game)"&gt;GORILLAS.BAS&lt;/A&gt;.&amp;nbsp; The game used real-world Physics to make players hit each other with... wait for it... bananas.&amp;nbsp; Come on, what did you expect from a game where the players are gorillas.&lt;/P&gt;
&lt;P&gt;Fast forward to now.&amp;nbsp; &lt;A href="http://social.msdn.microsoft.com/Profile/en-US/?user=Rushworks" mce_href="http://social.msdn.microsoft.com/Profile/en-US/?user=Rushworks"&gt;Rushworks&lt;/A&gt; has successfully captured the nostalgia with Gorillas for Small Basic.&amp;nbsp; You can download and play the game by using the ID: &lt;STRONG&gt;NLQ667-2&lt;/STRONG&gt;.&amp;nbsp; The program listing is also available at:&amp;nbsp;&lt;A href="http://smallbasic.com/program/?NLQ667-2"&gt;http://smallbasic.com/program/?NLQ667-2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;BR&gt;&lt;IMG alt="" src="http://farm4.static.flickr.com/3380/3536737323_b13a5b9663.jpg?v=0" width=350 height=250&gt; &lt;IMG alt="" src="http://farm3.static.flickr.com/2435/3537550818_1b0dd21686.jpg?v=0" width=350 height=250&gt; &lt;IMG alt="" src="http://farm4.static.flickr.com/3611/3536737131_bdd7b3578b.jpg?v=0" width=350 height=250&gt; &lt;IMG alt="" src="http://farm3.static.flickr.com/2091/3536737213_725eb1b7af.jpg?v=0" width=350 height=250&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Check out this &lt;A href="http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/a5dfd911-d704-412f-86c9-02e019f7e1da" mce_href="http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/a5dfd911-d704-412f-86c9-02e019f7e1da"&gt;forum thread&lt;/A&gt; for more discussion on this game.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9811316" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/smallbasic/archive/tags/sample/default.aspx">sample</category></item><item><title>Small Basic, now in Russian</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/26/small-basic-now-in-russian.aspx</link><pubDate>Fri, 26 Jun 2009 21:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9805768</guid><dc:creator>vijayeg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9805768.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9805768</wfw:commentRss><description>&lt;P&gt;The Russian localized version of Small Basic went live today, as v0.5.1.&amp;nbsp; No other change has been made and all the remaining functionality is the same as v0.5 (including English, French and Spanish).&amp;nbsp; So, if you want Russian, go ahead and download Small Basic from the same location (&lt;A href="http://msdn.microsoft.com/en-us/devlabs/cc950524.aspx" mce_href="http://msdn.microsoft.com/en-us/devlabs/cc950524.aspx"&gt;http://msdn.microsoft.com/en-us/devlabs/cc950524.aspx&lt;/A&gt;).&amp;nbsp; As always, please refresh your browser, and clean up the cache if need be to get the new version.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're running&amp;nbsp;English version of the Operating System, you can run:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;%programfiles%\microsoft\small basic\sb.exe /l:ru-ru&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;to launch the Russian localized version.&lt;/P&gt;&lt;IMG border=1 src="http://smallbasic.com/drop/russian_sb.png" mce_src="http://smallbasic.com/drop/russian_sb.png"&gt; &lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9805768" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/smallbasic/archive/tags/version/default.aspx">version</category><category domain="http://blogs.msdn.com/smallbasic/archive/tags/russian/default.aspx">russian</category></item><item><title>Running localized versions of Small Basic</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/25/running-localized-versions-of-small-basic.aspx</link><pubDate>Thu, 25 Jun 2009 19:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9803848</guid><dc:creator>vijayeg</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9803848.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9803848</wfw:commentRss><description>&lt;P&gt;Have an English Operating System, but want to run the Spanish version of Small Basic?&amp;nbsp; Yes, you can do that with your current installation - and you don't even have to install anything extra.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;In your Start Menu (or in your Run prompt), type &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;%programfiles%\microsoft\small basic\sb.exe /l:es-es&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;and hit Enter.&amp;nbsp;This will launch the Spanish version of Small Basic.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; %programfiles%\microsoft\small basic\sb.exe /l:fr-fr&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;will launch the French version of Small Basic.&lt;/P&gt;
&lt;P&gt;As of v0.5, we support only those two languages, but&amp;nbsp;expect more languages support soon.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9803848" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/smallbasic/archive/tags/french/default.aspx">french</category><category domain="http://blogs.msdn.com/smallbasic/archive/tags/spanish/default.aspx">spanish</category></item><item><title>Color Picker</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/23/color-picker.aspx</link><pubDate>Tue, 23 Jun 2009 23:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9800183</guid><dc:creator>vijayeg</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9800183.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9800183</wfw:commentRss><description>&lt;P&gt;Color Picker by &lt;A href="http://social.msdn.microsoft.com/Forums/en-US/user?user=Suduadib" mce_href="http://social.msdn.microsoft.com/Forums/en-US/user?user=Suduadib"&gt;Suduadib&lt;/A&gt;&amp;nbsp;is an example that shows the usage of arrays in Small Basic.&amp;nbsp; You can import this program using the id: &lt;STRONG&gt;SGS247&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Program listing is available at: &lt;A href="http://program.smallbasic.com/?SGS247"&gt;http://program.smallbasic.com/?SGS247&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://smallbasic.com/drop/palette.png" mce_src="http://smallbasic.com/drop/palette.png"&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9800183" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/smallbasic/archive/tags/sample/default.aspx">sample</category></item><item><title>API Reference</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/22/api-reference.aspx</link><pubDate>Mon, 22 Jun 2009 21:07:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9798047</guid><dc:creator>vijayeg</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9798047.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9798047</wfw:commentRss><description>&lt;P&gt;The Small Basic API reference is now available at: &lt;A href="http://doc.smallbasic.com/"&gt;http://doc.smallbasic.com/&lt;/A&gt;.&amp;nbsp; With v0.5, you can view the API reference in your choice of English, Spanish or French.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9798047" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/smallbasic/archive/tags/resources/default.aspx">resources</category></item><item><title>Arrays in Small Basic</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/20/arrays-in-small-basic.aspx</link><pubDate>Sat, 20 Jun 2009 10:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9793034</guid><dc:creator>vijayeg</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9793034.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9793034</wfw:commentRss><description>&lt;P&gt;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&amp;nbsp;I want to write about the syntax and the functionality of the new arrays.&lt;/P&gt;
&lt;P&gt;Any variable can be used as an array – no special declaration or setup is necessary. Arrays are indexed using square brackets. &lt;/P&gt;
&lt;DIV style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; FONT-FAMILY: Consolas; BACKGROUND: #666666; COLOR: white; MARGIN-LEFT: 20px; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 8px"&gt;numbers[1] = "One"&lt;BR&gt;numbers[2] = "Two"&lt;BR&gt;TextWindow.WriteLine(numbers[1])&lt;BR&gt;TextWindow.WriteLine(numbers[2]) &lt;/DIV&gt;
&lt;P&gt;Arrays can be indexed with either numbers or text. And you can use different types of indexers in the same array.&lt;/P&gt;
&lt;DIV style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; FONT-FAMILY: Consolas; BACKGROUND: #666666; COLOR: white; MARGIN-LEFT: 20px; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 8px"&gt;myarray["one"] = 1&lt;BR&gt;myarray[2300] = "Two thousand three hundred"&lt;BR&gt;myarray["name"] = "Vijaye" &lt;/DIV&gt;
&lt;P&gt;Arrays can be copied over via simple assignment. Modifying one array doesn’t affect the other array.&lt;/P&gt;
&lt;DIV style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; FONT-FAMILY: Consolas; BACKGROUND: #666666; COLOR: white; MARGIN-LEFT: 20px; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 8px"&gt;first[1] = "Uno"&lt;BR&gt;first[2] = "Dos"&lt;BR&gt;second = first&lt;BR&gt;TextWindow.WriteLine(second[2]) ' prints Dos&lt;BR&gt;second[1] = "One"&lt;BR&gt;TextWindow.WriteLine(second[1]) ' prints One&lt;BR&gt;TextWindow.WriteLine(first[1]) ' prints Uno &lt;/DIV&gt;
&lt;P&gt;The values in an array are internally maintained as a string with semicolon separated values:&lt;/P&gt;
&lt;DIV style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; FONT-FAMILY: Consolas; BACKGROUND: #666666; COLOR: white; MARGIN-LEFT: 20px; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 8px"&gt;person["Name"] = "Vijaye"&lt;BR&gt;person["Age"] = 30&lt;BR&gt;person["Address"] = "Redmond"&lt;BR&gt;TextWindow.WriteLine(person) &lt;/DIV&gt;
&lt;P&gt;This prints:&lt;/P&gt;
&lt;DIV style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; FONT-FAMILY: Consolas; BACKGROUND: #666666; COLOR: white; MARGIN-LEFT: 20px; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 8px"&gt;Name=Vijaye;Age=30;Address=Redmond; &lt;/DIV&gt;
&lt;P&gt;You can remove elements in an array by setting them to an empty text.&lt;/P&gt;
&lt;DIV style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; FONT-FAMILY: Consolas; BACKGROUND: #666666; COLOR: white; MARGIN-LEFT: 20px; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 8px"&gt;myarray[1] = "One"&lt;BR&gt;myarray[2] = "Two"&lt;BR&gt;myarray[3] = "Three"&lt;BR&gt;TextWindow.WriteLine(Array.GetItemCount(myarray)) ' prints 3&lt;BR&gt;myarray[2] = ""&lt;BR&gt;TextWindow.WriteLine(Array.GetItemCount(myarray)) ' prints 2 &lt;/DIV&gt;
&lt;P&gt;And finally, arrays can be multi-dimensional too&lt;/P&gt;
&lt;DIV style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; FONT-FAMILY: Consolas; BACKGROUND: #666666; COLOR: white; MARGIN-LEFT: 20px; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 8px"&gt;people[1]["Name"]["First"] = "Vijaye"&lt;BR&gt;people[1]["Name"]["Last"] = "Raji"&lt;BR&gt;people[2]["Name"]["First"] = "Carl"&lt;BR&gt;people[2]["Name"]["Last"] = "Fredrickson"&lt;BR&gt;TextWindow.WriteLine(people[2]["Name"]) &lt;/DIV&gt;
&lt;P&gt;This prints:&lt;/P&gt;
&lt;DIV style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; FONT-FAMILY: Consolas; BACKGROUND: #666666; COLOR: white; MARGIN-LEFT: 20px; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 8px"&gt;First=Carl;Last=Fredrickson;&lt;/DIV&gt;
&lt;P&gt;Theoretically, you can have as many dimensions as you want. However, the way they are implemented internally, a two dimensional array is 2 times slower than a single dimension array, and a three dimensional array is 4 times slower than a single dimensional array and so on. So, I’d recommend not overdoing multidimensional arrays.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9793034" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/smallbasic/archive/tags/array/default.aspx">array</category></item><item><title>Spanish Documentation now live</title><link>http://blogs.msdn.com/smallbasic/archive/2009/06/17/spanish-documentation-now-live.aspx</link><pubDate>Wed, 17 Jun 2009 09:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9767043</guid><dc:creator>vijayeg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/smallbasic/comments/9767043.aspx</comments><wfw:commentRss>http://blogs.msdn.com/smallbasic/commentrss.aspx?PostID=9767043</wfw:commentRss><description>&lt;P&gt;You can now download the Spanish version of "Introduction to programming" guide from: &lt;A href="http://download.microsoft.com/download/C/E/6/CE66B602-19F7-4FA6-A4D2-E06F8382A7B9/Introduccion%20a%20Small%20Basic.pdf" mce_href=" http://download.microsoft.com/download/C/E/6/CE66B602-19F7-4FA6-A4D2-E06F8382A7B9/Introduccion a Small Basic.pdf"&gt;http://download.microsoft.com/download/C/E/6/CE66B602-19F7-4FA6-A4D2-E06F8382A7B9/Introduccion a Small Basic.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Diviértete.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9767043" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/smallbasic/archive/tags/spanish/default.aspx">spanish</category></item></channel></rss>