Programming is an activity every geek needs (or wants) to indulge in. If you start early, it is always beneficial. That’s why BASIC was created, which was far simpler than its contemporaries, and could be taught to anyone, including kids. And whenever someone says BASIC, the word the comes to our mind is Microsoft Visual Basic 6.0. It was a software, I say far ahead of its time. Microsoft’s contribution to the coding world is undeniable!
Visual Basic needs no introduction. Visual Basic (VB) is an integrated development environment (IDE) from Microsoft for the BASIC language. Visual Basic is relatively easy to learn and use. The classic language, that introduces children to programming was made popular by VB only. But as Linux wasn’t as popular when VB was popular. So, hard luck for the Linux users. But the thing didn’t matter much. Linux was only for geeky professionals then and who’d introduce it to kids? But with the arrival of Ubuntu, things changed. The Linux for Human Beings was really simple and could be used by kids. And being free, it is now the most preferred OS for computer labs. And whatever happened to BASIC? It was Gambas.
Too much history, now its time to get straight to the point. Gambas is an IDE for BASIC programming that not just resembles Visual BASIC but also functions like that, and I’m going to review it today.
To install Gambas, either go to Ubuntu Software Center and search for it or go to synaptic package manager and install the package gambas2-ide and other dependencies, which are automatically selected.
After that, start the program from Applications>>Programming>>Gambas2
You are greeted with a screen asking what to do. Of Course you have to create a new project, a Qt Graphical Application. Name the file and save it to a desired location. You’ll be shown the screen above.
Now let us create a hello world application.
- In the form drag a label (or more) and a button from the toolbar
- Set the label visibility to false using the properties toolbar
- Now double click on the button and typeLabel1.Visible=TRUE
- Now run the app. When you click on the button, the label becomes visible!
- Here’s my version of the hello world app!
Useful Links: Site | Install Guide | Source Code .