Heute wurde die zweite Version der Programmiersprache und Entwicklungsumgebung Small Basic veröffentlicht.
Hier eine Liste von Änderungen:
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
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
- Turtle