Browse by Tags

Tagged Content List
  • Wiki Page: Small Basic Sample: Graphic Car Race

    The following sample is to create a graphic car race: Code 'subroutine draw road 'subroutine draw the car 'start loop 'draw the road 'draw the car 'accept input to drive car left /right 'redraw car 'time interval 'loops...
  • Wiki Page: Small Basic: Graduate to C#

    This article considers how to Graduate a Small Basic program to C#. Table of Contents Motivations Prerequisites ILSpy Visual Studio Community Conversion Create a Small Basic exe Convert to VS project Inside Visual Studio Initial setup The source code Running the Program Other Languages Motivations...
  • Wiki Page: Entry Point for Small Basic

    I found it useful to have a Goto EntryPoint in the code while testing. --- Sample --- Goto Entry Point 'EntryPoint: Followed by block of source code for Lesson number 1.1 'EntryPoint: Followed by block of code for Lesson number 1.2 EntryPoint: etc....
  • Wiki Page: Small Basic: How to Debug

    This article includes following tips in the table of contents about how to debug program written in Small Basic language. And also this article shows you real samples for debugging with published programs. This document is for following versions of programs. Small Basic v1.0 Visual Studio 2010...
  • Wiki Page: The Unique Features of Small Basic

    Table of Contents What are the unique features of Microsoft Small Basic? Simple Social Fun Gradual See Also Other Languages This article originates with the question in the Small Basic FAQ . We wanted to give the community a chance to answer this question in depth. What are the unique features...
  • Wiki Page: Features of Microsoft Small Basic v1.0

    This article shows features of Microsoft Small Basic v1.0 programming language. Table of Contents Programming Environment Fonts in Editor Runtime Environment System Requirement Object Array Clock Controls Desktop Dictionary File Flickr GraphicsWindow ImageList Math Mouse Network Program Shapes Sound...
  • Wiki Page: Microsoft Small Basic v1.1: Known Issues

    This article organizes known issues about Small Basic v1.1. These issues happen only in Small Basic v1.1. Issues happened both in Small Basic v1.0 and v1.1 are described here . These issues happen both in local (under IDE environment) and remote (under smallbasic.com with web browser and Silverlight...
  • Wiki Page: Small Basic Sample: GameGraphics

    Code Import to Small Basic : XZG681-11 '*************************************************************************************** 'Sample program to demonstate virtually all of the SmallBasic GraphicsWindow commands 'Includes use of Shapes, Images, Arrays, Mouse and Keyboard...
  • Wiki Page: Small Basic: Comment Lire et Ecrire des Fichiers CSV (fr-FR)

    Table of Contents Qu'est-ce que le CSV? Exemple Exemple Implémentation Lire un CSV Ecriture un CSV Références Autres Langues Qu'est-ce que le CSV? CSV, signifiant "Comma Separated Values" soit "Valeurs Séparées par des Virgules", est un format de fichier qui est utilisé...
  • Wiki Page: Small Basic: Read and Write CSV Files

    Table of Contents What is CSV? Example Example Implementation Read CSV Write CSV References Other Languages What is CSV? Comma separated values (CSV) is a file format that is used to exchange data between programs. It uses commas to separate values and requires equally many values on each line...
  • Wiki Page: Microsoft Small Basic v1.0: Known Issues

    This article organizes known issues about Small Basic v1.0. These issues happen both in local (under IDE environment) and remote (under smallbasic.com with web browser and Silverlight). Differences between in local and remote are listed here . Table of Contents Known Issues Documentation Issues...
  • Wiki Page: Microsoft Small Basic 1.1 Release Notes

    This page is carefully and closely monitored. Any changes you make will be evaluated and then quickly accepted, refined, or reverted. Table of Contents Download Microsoft Small Basic 1.1 What's New in Microsoft Small Basic 1.1 New Updates Bug Fixes Other Changes System Requirements Installation...
  • Wiki Page: Small Basic: Centering Text in Graphics Window

    This article shows how to center a text in GraphicsWindow using Small Basic programming language. Table of Contents Easy Way Accurate Way Advanced Way See Also Other Languages Easy Way Following program ( TKW252 ) has a caption "DeepSkyBlue Fish" and the caption is approximately...
  • Wiki Page: Small Basic Blog: Authoring Schedule

    This page lists out the scheduled blog authors for the Small Basic Blog (the official blog for Small Basic). We build out schedules in quarterly, 3-month blocks. We will schedule at least 3 blog posts each week and then leave it open for the authors to blog more often than that. Table of Contents...
  • Wiki Page: Small Basic: How to Use MSDN Forum

    Table of Contents Introduction Get Started PLEASE READ BEFORE POSTING Overview This forum Asking a good question Non English questions Answering questions About off topic post Tree Structure in Thread Sticky Threads See Also Other Languages Introduction This article illustrates how to use Small...
  • Wiki Page: Small Basic: How to Simulate Local Variables

    This articles assumes knowledge of another article titled Small Basic: How to Simulate Parameters . Please read that article first. Let's see what a simple VB function would look like that uses local variables. Here's a VB function called GetSum() which returns the sum of the first 10...
  • Wiki Page: Small Basic: How to Simulate Parameters

    Let's start with what a function called Add() would look like in VB: ' Call it: msgbox Add( 5, 6 ) ' The function itself: Function Add( ByVal x as Integer, ByVal y as Integer ) Return x + y End Function The way to simulate parameters is to use a stack. That way functions...
  • Wiki Page: Small Basic: How to Use Trigonometric Functions

    Let's imagine to draw arc. Assume center of the arc as x = 200, y = 300, start angle a1 = -30 and end angle = -60. In mathematics, y axis goes up. But in Small Basic GraphicsWindow, y axis goes down. So sign of angle becomes opposite. If you don't use trigonometric function...
  • Wiki Page: Small Basic: How to Rotate a Shape Not from the Center

    Overview This article shows how to rotate a shape not from it's center in Small Basic programing language. Because Shapes.Rotate() rotates a shape from the center of the shape. Sample Program This is a simple analog stop watch which have a second hand. This second hand is a rectangle...
  • Wiki Page: Small Basic: How to Remove Goto Statements

    Table of Contents Overview Endless Loop Before After Conditional Jump Before After More Complicated Case Before After See Also Other Languages Overview If your program has a lot of Goto statements, that can be called a spaghetti program. Structured program doesn't use Goto. So, how can you...
  • Wiki Page: Small Basic: How to Make a Check Box

    Small Basic has following three kinds of controls. button multi-line text box text box But no check box is available in Controls object. So, let's make a check box by ourself. Table of Contents Design Code Sample Program See Also Other Languages Design To make a check box, we...
  • Wiki Page: Small Basic: How to Draw a Triangle

    If you know how to draw rectangle, how can you draw a triangle on it? See following picture. You already drew a square as GraphicsWindow.DrawRectangle(100, 200, 200, 200). So, the triangle you should draw has three points (x1 = 100, y1 = 200), (x2 = 300, y2 = 200), (x3 = 200, y3 = 50). There are 6...
  • Wiki Page: Small Basic: How to Create For Loops

    How to create Loops. How to create Loops. How to create Loops. Sometimes we need to do something a couple of times. 'do the following 3 times 'move the tortoise 50 pixels 'turn the tortoise 120 degrees 'repeat This could be translated with some easy cut &...
  • Wiki Page: Small Basic: How to Convert Multi-Line Text into an Array of Lines

    Small Basic can get multi-line text into a variable from multi-line input text box with Controls.GetTextBoxText() or from text file with File.ReadContents(). The following sample code shows how to convert a multi-line text into an array of lines. CRLF = Text . GetCharacter ( 13 ) + Text...
  • Wiki Page: How to add background music to a Small Basic game

    A few days ago, an old thread My custom sounds won't repeat. Any idea why? in the Small Basic forum became active again. Here i will try to show, how you can easily add background music to any of your Small Basic games or programs, just by adding an event subroutine, a Timer.Tick event and...
Page 1 of 10 (231 items) 12345»
Can't find it? Write it!