This blog is no longer being maintained

I’ve decided not to maintain this blog anymore. This means that I won’t be adding any new posts nor approving or responding to any comments. I do plan to leave all of my old posts visible for those that find them of value. Thanks for your support over the years, and I wish you all…

1

Small Basic #19: Syntax Cheat Sheet

Here’s my list of how to create and access things in Small Basic. I use this when I need to jog my memory but don’t want to search through the Introducing Small Basic guide. Create Array: myArray[1] = “myString”TextWindow.WriteLine(Array.GetItemCount(myArray)) Directory: File.CreateDirectory(“C:\temp\myTempDir”) Ellipse: GraphicsWindow.DrawEllipse(10, 15, 75, 25) ‘ Or… myEllipse = Shapes.AddEllipse(100, 50) Flickr image: GraphicsWindow.DrawImage(Flickr.GetPictureOfMoment(), 0,…

3

Day/Week/Month Time Management System

Mark Forster, creator of the popular AutoFocus time management system, has come up with a new version which he is currently calling the “Day/Week/Month” (or “DWM”) time management system. (Until now, he had been calling it “DIT2/AF5,” which stood for “Do It Tomorrow 2/AutoFocus 5.”) DWM is a deceptively simple yet extremely powerful method for managing…

0

Small Basic v0.8 is Here!

From the Microsoft Small Basic blog: The Small Basic v0.8 release features: Addition of details about your published programs. Rating system for programs published online. Rich formatting based copy (useful for printing Small Basic programs). Keyword help in Intellisense plus code samples. Performance improvements in the Library APIs. In addition, we have localized Small Basic in…

0

Small Basic #18: Digital Clock

I created a digital clock to demonstrate the Microsoft Small Basic Clock object.  You can do any of the following to experiment with the clock and its underlying code: If you want to see the clock on your computer and you have Small Basic, click Import, type DHC348, click OK, and click Run. If you don’t have Small Basic but you…

0

Small Basic #17: Silverlight-Based Small Basic Program Runner

You can now run Microsoft Small Basic programs in a Microsoft Silverlight-based viewer from a supported web browser. Here’s how to do it: If you want to run your own Small Basic program and you have not yet published it, from the Small Basic user interface, open the code that you want to publish, and then click…

0

Small Basic #16: Downloadable Code Examples (So Far)

Here are the Microsoft Small Basic code examples that I’ve created so far. If you have Small Basic, you can import them by using the ID numbers below, or you simply click the hyperlinks to display the code in your web browser:  Arrays: BTD771, http://smallbasic.com/program/?BTD771 Basic Shape Movement with Mouse: VDJ792, http://smallbasic.com/program/?VDJ792 Clock: BJF410, http://smallbasic.com/program/?BJF410…

3

Small Basic #15: The Turtle

Microsoft Small Basic provides a Turtle object that lets you draw on the graphics window with a little turtle. You can make the turtle crawl around, drawing wherever you lead it, as demonstrated in the following code that draws the word “Hi!” near the middle of the graphics window:’ Center of the graphics window. w =…

0

Small Basic #14: Mouse and Keyboard Events

If you’re interested in creating basic text-based programs, Microsoft Small Basic has TextWindow and Text objects are probably enough for your needs. However, if you’re interested in interactive graphical programs (such as games or rich personal productivity applications), Microsoft Small Basic has a GraphicsWindow object that supports mouse and keyboard events. To learn about how it works,…

11