This page contains a list of user images about Liberty Basic which are relevant to the point and besides images, you can also use the tabs in the bottom to browse Liberty Basic news, videos, wiki information, tweets, documents and weblinks.
Liberty Basic Images
Rihanna - Take A BowMusic video by Rihanna performing Take A Bow. YouTube view counts pre-VEVO: 66288884. (C) 2008 The Island Def Jam Music Group.
P!nk - Just Give Me A Reason (Official Lyric Video)The Truth About Love available on iTunes NOW http://smarturl.it/tal Music video by P!nk performing Just Give Me A Reason. (C) 2012 RCA Records, a division of...
Justin Timberlake - Mirrors (Boyce Avenue feat. Fifth Harmony cover) on iTunes & SpotifyWin Free Tickets + VIP Meet & Greets: http://smarturl.it/BATour iTunes: http://smarturl.it/BAiTunes Spotify: http://smarturl.it/BoyceCCV2bSpotify - - - - - -...
Steve Jobs vs Bill Gates. Epic Rap Battles of History Season 2.Download This Song: http://bit.ly/KzLBGB Click to Tweet this Vid-ee-oh! http://bit.ly/Nt9lg8 Hi. My name is Nice Peter, and this is EpicLLOYD, and this is th...
MACKLEMORE & RYAN LEWIS - CAN'T HOLD US FEAT. RAY DALTON (OFFICIAL MUSIC VIDEO)Macklemore & Ryan Lewis present the official music video for Can't Hold Us feat. Ray Dalton. Can't Hold Us on iTunes: https://itunes.apple.com/us/album/cant-...
Draw My Life- Jenna MarblesThis video accidentally turned out kind of sad, ME SO SOWWY IT NOT POSED TO BE SAD WHO WANTS HUGS AND COOKIES? Also, FYI for anyone attempting this, it takes...
Draw My Life - Ryan HigaSo i was pretty hesitant to make this video... but after all of your request, here is my Draw My Life video! Check out my 2nd Channel for more vlogs: http://...
Key & Peele: Substitute TeacherA substitute teacher from the inner city refuses to be messed with while taking attendance.
Jack Sparrow (feat. Michael Bolton)Buy at iTunes: http://goo.gl/zv4o9. New album on sale now! http://turtleneckandchain.com.
Master Chief vs Leonidas. Epic Rap Battles of History Season 2.download this song: http://bit.ly/ERB17 click to tweet this vid-ee-oh! http://clicktotweet.com/vCJ_8 This. Is. Merchandise: http://bit.ly/ERBMerch Hi. My nam...
Rihanna - DisturbiaMusic video by Rihanna performing Disturbia. YouTube view counts pre-VEVO: 48070735. (C) 2008 The Island Def Jam Music Group.
Rihanna - Where Have You BeenBuy on iTunes: http://www.Smarturl.it/TTT Amazon: http://idj.to/svJVGM Music video by Rihanna performing Where Have You Been. ©: The Island Def Jam Music Group.
Harrison Ford Won't Answer Star Wars QuestionsSee Harrison Ford in 42! Go to http://42movie.warnerbros.com/ Jimmy Kimmel Live - Harrison Ford Won't Answer Star Wars Questions Jimmy Kimmel Live's YouTube ...
EPIC RAP BATTLE of MANLINESSAn Epic Rap Battle to determine who is the more manly man. Get the Song on iTunes: http://bit.ly/ERBofManliness Check out the Behind the Scenes: http://youtu...
| Paradigm(s) | Event-driven, Procedural |
|---|---|
| Appeared in | 1992 |
| Designed by | Carl Gundel |
| Developer | Shoptalk Systems |
| Stable release | 4.04 (July 31, 2010) |
| Typing discipline | Dynamic, weak |
| Major implementations | Run BASIC, GLBCC |
| Influenced by | QuickBASIC, Smalltalk/V |
| Influenced | Just BASIC, Leopard |
| OS | Microsoft Windows (Mac OS X, and Linux in Liberty Basic 5) |
| License | Commercial |
| Usual filename extensions | .bas, .fr3 |
Liberty BASIC (LB) is a commercial computer programming language and integrated development environment (IDE). It has an interpreter developed in Smalltalk, which recognizes its own dialect of the BASIC programming language. It runs on 16- and 32-bit Windows and OS/2.
Contents |
Background [edit]
Liberty BASIC was written by Carl Gundel and published in its first release by his company, Shoptalk Systems, in 1992. It has progressed steadily since then. The last published update to the software was in 2006. The current version is v4.04. Liberty BASIC has been used in examples of code for various guides and references about programming in Windows, including "Beginning Programming For Dummies", by Wallace Wang.
Though Liberty BASIC has its share of limitations in its design for advanced programming, it makes a credible and very usable introductory integrated development environment, IDE, for moderate to advanced users of Windows and OS/2. DLLs are available with functions allowing users to overcome most of the limitations in Liberty BASIC. The OS/2 version is very old, but free. A new version that will run on Windows, Macintosh and Linux is in active development.
The Liberty BASIC dialect, and IDE, have developed a market niche for introductory and intermediate programmers who are learning the skills of programming, though it has been less widely adopted as a commercial publishing product. This does not mean that Liberty Basic is educational software only. It is still a commercial product, and can be used to create proprietary software.
In its current version, it runs only on Microsoft Windows, but version 5 is in active development and runs on Mac OS X and Linux systems as well.
Liberty Basic is not a true compiler. Liberty Basic translates the code written in the IDE to an encrypted (not 'tokenized') file with the extension "tkn". This file is then interpreted by an executable file that carries the same file name, although this may change with the release of version 5.
Features [edit]
- A visual development tool called FreeForm, written in Liberty BASIC and greatly extended by the Liberty BASIC community over the years
- Source level debugger
- calling of DLLs and APIs
- Color graphics capability
- Can create games with sprite animation, sound, music, and joystick control
- An add-on package called Assist with many new features, such as a code formatter, source code versioning, a performance profiler, an easy-to-use code difference browser, and an improved package and deployment system
Distinguishing features [edit]
Liberty BASIC allows for programming in a style similar to DOS BASICs that run in console mode, using a default "main window" that displays formatted text and accepts user input. It also supports GUI-based event-driven programming using several types of windows that may contain the standard controls such as buttons, menus, textboxes, etc.
A central idea in creating Liberty BASIC was to model the handling of windows after the syntax for file handling. For example, (from the Liberty BASIC Help File):
"The OPEN command opens communication with a device, which can be a disk file, a window, a dynamic link library or a serial communications port."
OPEN device FOR purpose AS #handle {LEN = n}
This general purpose syntax is one of the features of LB that make it easier to learn.
Once a “device” is open, data and also commands to control that device can be “printed” to it. For each type of device there is a set of commands which can be sent to it in this way. In the more recent versions of LB the word "print" may be dropped from the "print" statement, making the syntax even simpler.
Simplicity has been at the heart of Liberty BASIC from the beginning. This makes it easier to learn but at some cost, perhaps, in limiting functionality. Only two data types are supported in LB4.03: numeric and string. No type declarations are required: any variable with a $ sign at the end of its name is a string variable; otherwise it is numeric. (The plan for LB5 is to support other types and user defined types as well as these.) For the purpose of making calls to API or 3rd party DLLs there is a STRUCT and the additional types necessary for the DLL. The only other data structure currently supported is the ARRAY. Arrays of one or two dimensions are supported. LB5 may support arrays of user-defined types.
Notable programs written in Liberty BASIC [edit]
- FreeForm, a GUI Editor was written in LB for easily creating simple or complicated GUI formats
Example code [edit]
Here are some examples of the language:
"Hello world" program:
print "hello world" end
Program to display a pop-up message box with the words "Hello, World!" on it:
nomainwin notice "Hello world!" end
nomainwin notice "Example program" + chr$(13) + "Hello world!" end
Program to display an input box:
nomainwin prompt "Enter your name:";response$ notice "Response:"+ chr$(13) +response$ end
Running another application using Liberty BASIC:
nomainwin run "notepad.exe" end
Printing multiplication table of 5 on form:
[multi] for i = 1 to 10 res = 5 * i print res next i end
Alternative implementations [edit]
In 2011 an alternative Windows implementation of Liberty BASIC, LB Booster (LBB), became available. Although substantially compatible with the Liberty BASIC 4 language syntax, LBB was developed entirely independently by Richard Russell and is written in BBC BASIC.
LBB offers (typically) increased execution speed, smaller self-contained executables and some additional capabilities. However LBB is not 100% compatible with LB4 and whilst many programs will run without modification some may need to be adapted, or even be unsuitable for running under LBB.
See also [edit]
- Liberty BASIC Workshop (an add-on IDE for Liberty BASIC)
- Just BASIC (a freeware version of Liberty BASIC)
- Run BASIC (a free-to-use web programming site based on Liberty BASIC)
External links [edit]
- Liberty BASIC
- Official Support Group
- Carl Gundel's blog
- Liberty BASIC Wiki
- Liberty BASIC Programmer's Encyclopedia
- Liberty BASIC CommunityForum
- Liberty BASIC on Rosetta Code
- LB Booster
- Liberty Basic France (In French)
|
|||||||||||||||||



Research







