You Are Here:

Community: Blogs

Jacek Wojciechowski's Forum Nokia Blog

Open source scripting for mobile phones (part 2)

jack44 | 08 September, 2007 12:14

Last time I wrote about TCL based language - HECL. Now, let's go back in time. I believe you still remember DOS and its scripting language (also available in "visual" version in current Windows platforms).

This time I will focus on QBasic language, which is also available for mobiles (Java ME). It's called CellularBASIC and it's an open source project. The scripting language is a dialect of QBASIC 1.1, supporting more than 90 keywords, along with some special features (64-floating point arithmetic, trigonometric, screen I/O, file I/O, SMS sending, network programming, graphics...). The project has good documentation (command reference, keywords with examples).


If you would like to play a little with old QBasic 1.1, you can download it from Microsoft pages or play with CellularBasic directly on the device (editing of code is supported) or PC. For these of you who are not familiar or don't remember the language, the simplest Hello World code is as following:

PRINT "Hello World by Jacek Wojciechowski!"


I wish I had a FDD to read my very old 5.25" floppy disk with my old QBasic apps, but this task is not very easy nowadays ;-)

 
 

Rate This

 
 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia