Welcome to the most active Linux Forum on the web.
Go Back > Blogs > peonuser
User Name


Rate this Entry

Almost but not quite qbasic.

Posted 11-15-2011 at 12:41 AM by peonuser

Gosh I wrote so many programs in Quickbasic, I just hated to give them up. I looked around for a clone of Quickbasic and found Freebasic. I write a lot of my home automation routines in Freebasic now. So easy to control the parallel port compared to everything else and you do not have to have any special libraries other than the original libs to install the program. I have come up with at least on Debian a routine to install Freebasic. Tried it on Ubuntu 10.05 and Debian squeeze.

Install it.
$ sudo apt-get install libfreebasic libxext-dev libncurses5-dev libx11-dev libxpm-dev libxrandr-dev
$ wget
$ chmod +x
$ sudo ./ install

Edit a test file:
$ vim helloworld.bas

print "Hello world! "
Compile it.
$ fbc -lang qb helloworld.bas

Run it.
$ ./helloworld
Hello World!
Posted in Uncategorized
Views 485 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 11:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration