Skip to main content
Liberty Basic 4 is now in Alpha testing. It looks like it's going to be a big step forward for the language. Here's a brief list of the new features:
  1. True global variables. (declared using the new global keyword)

  2. Passing arguments to a sub or function by reference. (I complained about the lack of this feature in LB3 about 4 posts ago.)

  3. Handle variables and the new maphandle command. (liberation from static handles to windows, controls and files)

  4. Dynamic evaluation of Liberty Basic code inside of a running program. (eval returns a numeric value and eval$ returns a string value)

  5. Subroutines can now be used for event handlers. (a better choice over branch labels for large programs)

There are many other enhancements, but these are the big ones. The IDE also has a new feature that lets you create tutorials or lessons using a three-pane window. On the left pane is the outline of the lesson. On the upper right pane is the lesson text. On the lower right pane is LB code that can be run by the user. The lessons can be created in the IDE and stored as lesson files with an lsn extension (i.e. tutorial1.lsn).

Some people have called Liberty Basic the language for the masses. Carl strives to keep the language easy to learn and fun to use. He markets to beginning programmers and hobbyists, but as the years roll by LB is moving slowly into the realm of the professional. I welcome this direction, but I hope that the personality of the product is not lost in new complexity. A lesson from current events is Microsoft's VB.NET. The Visual Basic I know and love is nowhere to be found in this new product. VB.NET is just C# with VB-like syntax.

Comments

Popular posts from this blog

Tiny Basic 1.2 Progress

I'm working on the next release of Tiny Basic. Here's the latest list of enhancements: Added GOSUB/RETURN statements. Added TITLEBAR statement for the interpreter console. Increased program lines from 100 to 1024. Rewrote the MEM code. Added runtime error handling in the interpreter. It trys to recover to the READY prompt. Created test program for the interpreter (i.e. primitive unit testing). Granted that some of these changes are behind the scenes, but I'm trying to increase the robustness of the interpreter without refactoring it into something completely different. Before I release Tiny Basic 1.2, I still want to add these features: String variables (i.e. a$ -- z$). FOR/NEXT loops Fix known bugs in current version. The work continues...

Run Basic RC1 Released

Carl invited me to be a beta tester for his upcoming Run Basic product about 4 months ago. This week he released Release Candidate 1 to the beta testing group. It's been exciting to see the evolution of RB from Beta 2 through Beta 5 to RC1. New features that aren't publicly available at www.runbasic.com include: A new syntax to use objects. (e.g. #object method). You can see the Smalltalk influence and the syntax leverages a Liberty Basic programmer's conceptual model of handles. An XMLparser object. A SQLITE object. A FILE object. A TABLE object. HTTPGet$ function that performs an HTTP GET. Carl stated that there will be a few more release candidates before the official release of the Run Basic Personal Server. There will be an "Enterprise" version available at a later date which should include version control and enterprise database access. This release will be the most significant event in the Basic programming world since the introduction of Visual Basic for...

Liberty Basic in 2010

This past year has seen some modest progress in the world of Liberty Basic: Carl published a book titled Beginning Programming with Liberty BASIC . This is a great book -- I read it from cover to cover. Even if you're an experienced programmer, it is a fast way to get the gist of the language and you may even pick up a few new things along the way. Liberty Basic 4.04. This release offers better compatibility with Windows Vista and 7. It also fixes some bugs. I think it will be the last release of the 4.x version. Liberty Basic Pro. This is just 4.04 and Assist combined into a single product. Hopefully 2011 will be the year of Run Basic.