LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs > peonuser
User Name
Password

Notices

Rate this Entry

Almost but not quite qbasic.

Posted 11-14-2011 at 11:41 PM 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 http://iweb.dl.sourceforge.net/proje...23.0-linux.run
$ chmod +x FreeBASIC-0.23.0-linux.run
$ sudo ./FreeBASIC-0.23.0-linux.run install

Edit a test file:
$ vim helloworld.bas

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

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

Comments

 

  



All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement

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