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

BASIC turns 50

Well, the BASIC language actually turned 50 on May 1, 2014, and I'm very late to the party. Born at Dartmouth in 1964 (along with the first commercial time sharing), here is the university's tribute page . There is even a great 38 minute documentary that they made for the occasion. 10 PRINT "ENJOY" 20 GOTO 10

Run BASIC Hosting Service Launched

The new Run BASIC hosting service launched at midnight! Please visit http://runbasichosting.com for more details. Monthly and annual subscriptions are available. Run BASIC , a product by ShopTalk Systems, is a tool that makes it easy to create your own web applications. No computer science degree required . Run BASIC Hosting is a service that makes it easy to deploy your applications to the Internet. No IT experience required .
My wanderings today took me back to the beginning of the personal computer revolution: the MITS Altair kit computer. Click here for a look at Altair Basic. This was Bill and Paul's first BASIC language product at a time when Microsoft Corporation was called Micro-Soft. Check out the scans of the original manual as well as Bill Gate's complaint about hobbyist piracy in a 1976 issue of Radio Electronics. Some things change and some things remain the same.