Microsoft Small Basic

v0.2 Updates (Dec08 release)

Modified: 2008/12/19 01:57 by 98.117.125.85 - Uncategorized
Small Basic v0.2 was released on Dec 17th 2008. At a high level, this version included the following updates over the v0.1 (released on October 24th 2008):

  • Bug fixes on the IDE
  • A smarter compiler with better language service features, including auto-indent
  • Inclusion of ElseIf keyword in the language
  • Better File access operations
  • Access to position and angle of Turtle

The compiler was rewritten from scratch to fix quite a few bugs, especially in the expression parser. This also allowed new features like Auto-Indent possible in the editor.

The full list of updates is available below:

Edit

Language and Editor

  • Several Crash fixes
  • Support for non-US regional OS settings
  • Auto-indent
  • Parentheses for conditional expressions are now optional
  • Added ElseIf keyword to the language
  • Support for inline comments
  • Fixed bug with negative step value in For..EndFor

Edit

Library API Additions

  • Array
    • GetItemCount
    • ContainsIndex
    • ContainsValue
    • RemoveValue

  • Desktop
    • Get ScreenWidth and ScreenHeight

  • File
    • CreateDirectory
    • DeleteFile
    • GetFiles
    • GetDirectories
    • WriteContents Fix: Now works even if the file doesn't already exist.

  • GraphicsWindow
    • Performance Improvements
    • Width/Height Fix: No need to set these twice
    • Hide Fixed crash
    • Add/FillTriangle
    • RotateShape
    • CanResize You now have the option of changing the resize mode
    • Left/Top You can now position the window
    • GetColorFromRGB Construct a valid color value from the color components

  • Math
    • Power
    • GetRandomNumber Fix: Is one based and includes the max-number in range. Breaking Change

  • Program
    • Fixes for End()
    • ProgramDirectory Gets the directory of the program

  • Text
    • Append For those times when you want a number to be treated as text
    • GetCharacter Unicode character code to Character
    • GetCharacterCode Character to Unicode Character code

  • TextWindow
    • Clear
    • Left/Top

  • Turtle
    • Angle
    • X, Y

ScrewTurn Wiki version 2.0.35. Some of the icons created by FamFamFam.