November 11th, 2008Small Basic is just born programming language for beginners
Later people who wanted to learn programming, they start with C language, this days i heard that people choose to learn c# or Java as they firs programming language. It is brave but it can be to damn difficult. Some people gave up, because they think out they can’t be good programmers, and that programming is so hard to learn, but trust me it’s not.
Some people thing that beginners should start with KPL, Python and Ruby. Some said Alice and Scratch.
In early days introducing with new terms, variables, operators, loops you can pick some easy programming language and start to learn it.Vijaye Raji from Seattle, Microsoft software developer created new programming language, It’s name is Small Basic. Vijaye thinks this language will help beginners to get started with programming.
Small Basic is inspired with Basic programing language, and it is based on Microsoft .NET platform. Development environment is very modern, powered with features like Intellisense⢠or Instant sensitive help.
Lets see the code !
Change the desktop wallpaper from Flickr, every minute
1 2 3 4 5 6 | While ("True")
pic = Flickr.GetRandomPicture("fall leaves")
Desktop.SetWallPaper(pic)
Program.Delay(60 * 1000)
EndWhile |
Makes a BlackBoard that allows you to scribble on a window
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | GraphicsWindow.BackgroundColor = "Black"
GraphicsWindow.PenColor = "White"
GraphicsWindow.MouseDown = OnMouseDown
GraphicsWindow.MouseMove = OnMouseMove
Sub OnMouseDown
prevX = GraphicsWindow.MouseX
prevY = GraphicsWindow.MouseY
EndSub
Sub OnMouseMove
x = GraphicsWindow.MouseX
y = GraphicsWindow.MouseY
If (Mouse.IsLeftButtonDown) then
GraphicsWindow.DrawLine(prevX, prevY, x, y)
endif
prevX = x
prevY = y
EndSub |
You can download Small Basic, or view Getting Started guide.
Hits for this post: 602
