Tagged Content List
  • 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: Did You Know?

    Here are some tips to remember while programming with Small Basic. Feel free to add more as you figure them out. Small Basic IDE Double clicking on the compiler errors will take you to the actual error. You can zoom the text in the editor by holding control and using the mouse wheel. You...
  • Wiki Page: Small Basic Reference Documentation: Shapes Object

    Small Basic: Reference Documentation > Shapes Table of Contents Shapes Operations AddRectangle width height Returns AddEllipse width height Returns AddTriangle x1 y1 x2 y2 x3 y3 Returns AddLine x1 y1 x2 y2 Returns AddImage imageName Returns AddText text Returns SetText shapeName text Returns...
  • Wiki Page: Small Basic Sample: Blackboard

    Table of Contents Code Screenshot See Also Code GraphicsWindow . BackgroundColor = "Black" GraphicsWindow . PenColor = "White" GraphicsWindow . MouseDown = OnMouseDown GraphicsWindow . MouseMove = OnMouseMove Sub OnMouseDown prevX = GraphicsWindow...
  • Wiki Page: Small Basic Sample: Flickr Collage

    Table of Contents What is Flickr Collage? Code See Also Other Languages What is Flickr Collage? With this sample you can use flickr to randomize some online photos on a tag.They will displayed on Graphics Window. Code tag = "seattle" pic = "MyPic" ...
  • Wiki Page: Small Basic Sample: Turtle Plus Flickr

    Table of Contents Code Screenshot See Also Other Languages Code GraphicsWindow.Show() pic = Flickr.GetRandomPicture("lightning") gw = GraphicsWindow.Width gh = GraphicsWindow.Height GraphicsWindow.DrawResizedImage(pic, 0, 0, gw, gh) distance = 50 Turtle.Speed = 9 For sides = 3 To 20...
  • Wiki Page: Small Basic: Exemple - Collage avec Flickr (fr-FR)

    Table of Contents Qu'est-ce qu'un Collage Flickr ? Code Voir Aussi Autres Langues Qu'est-ce qu'un Collage Flickr ? Avec cet exemple vous allez utiliser Flickr pour récupérer aléatoirement des photos depuis un tag. Elles seront affichées sur la Fenêtre Graphique. Code tag...
  • Wiki Page: Small Basic: Exemple - Les Tableaux (fr-FR)

    Code Vous pouvez l'importer dans Small Basic avec l'ID FCL390-4 pour avoir les commentaires et les texte du programme en français. '*************************************************************************************** 'Programme d'exemple pour faire la démonstration...
  • Wiki Page: Small Basic Sample: Arrays

    Table of Contents Code See Also Other Languages Code '*************************************************************************************** 'Import FCL390 'Sample program to demonstate the use of arrays 'An array is a list of related data that can be added to, deleted...
  • Wiki Page: Small Basic: Prime Sieve

    Table of Contents Prime Sieve Overview Sample Application Output Try It Out! Now What? Credits See Also Additional Resources Prime Sieve Overview Prime numbers have fascinated people since ancient times. The Sieve of Eratosthenes provides one way to find all the prime numbers less than a given...
  • Wiki Page: Small Basic Community Council: Focus Areas

    Table of Contents Focus Areas Other Ideas See Also Focus Areas The members of the Small Basic Community Council are assigned Focus Areas each month. They can switch or change their Focus Areas each month. These are areas where they try to improve the Small Basic community or content in some way...
  • Wiki Page: Small Basic Sample: Graphic Car Race

    Table of Contents Code See Also Other Languages 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 ...
  • Wiki Page: Small Basic: How to Use Arduino

    Arduino is a cheap single board computer. This article shows how to use Arduino with Microsoft Small Basic programming language. Table of Contents Hardware Software Step by Step Instructions Download the Arduino Software Install the Arduino Software Assemble the Circuit Connect the Arduino to the...
Page 19 of 37 (925 items) «1718192021»