Basic as discussed for Linux by Rick Beauchamp All Tech Development 2009
Gone are the days of traditional Basic where an interpreter was used to run tokenized code with limited potentials in software design. While Basic stands for (Beginer All-purpose Symbolic Instruction Code), today it has a much higher meaning in RAD (rapid Application development). Over the years, There has been a marked and definitive progression to making the language more versatile.
1980 Feb BASIC or PC Basic was the first Basic for DOS PC's.
1980 Jun BASIC PLUS came out as the first Compiled BASIC for DOS PC's
1981 may GWBasic came onto the market as a Free Basic Interpreter for DOS PC's
198? ? Quick Basic offered a more robust platform for coding
1985 ? Microsoft releases Visual Basic for DOS it's the first GUI style of basic to reach the general public.
Visual Basic by Microsoft
Over the years, Visual Basic has gone through many transitions that allowed it to create CLI programs (DOS), GUI programs for Windows desktops, Plug-ins for web apps, and more.
Visual Basic is an integrated development environment designed form RAD. This IDE is available for only the Microsoft platform. Just as in Visual Basic for DOS, the windows versions consist of forms designer with drag and drop funtionality, a coding editor, and a runtime environment for testing. All Visual Basic programs in corporate event driven programming models and compile through a built-in compiler. However, where earlier Visual Basic programs compiled directly into machine code, newer Visual Basic apps compile into a type of tokenized runtime code which call library routines to perform their functions.
Each project consists of one or more forms files, one or more module files, and may also require Plug-in files. Projects are stored in their own independant folders.
In the grand scheme of things, application development needs to be able too function in multiple Platforms. That is the code created for running under Microsoft Windows must be able to be compiled with little or perferably no changes on both the MAC OS-X and Linux enviroments. With MAC OS-X taking on a UNIX framework the overall task has just become simplified. We now only need to work with two platforms.
xBasic 6.2.3 by Matt Reason / Eddie P.
xBasic is an integrated development environment designed for RAD (Rapid Application Development). This IDE is available for both the Linux and Windows platforms. There are 2 differing program sources. One is for use under Windows, the other is for use in Linux.
Applications written in one environment are directly portable for use under the other with almost no need for recoding. xbasic applications are directly compiled into an efficient runable program which only requires the runtime library.
*Windows - programs designed under this environment will compile and run on any Microsoft based product except Windows 7. The IDE itself works on Windows 98/2000/XP/Vista32. The IDE will not run properly under Vista64. The forms designer portion of the program works under Windows 98/2000/XP but will fail under Vista32 or Vista64.
*Linux - programs designed under this environment will compile and run on any Linux distro. The IDE itself does not run perfectly when using KDE 4.1 and in fact, the forms designer crashes if using this version of KDE. Everything works fine with KDE 3.5 and below or KDE 4.3 .
The xbasic program should be installed to /usr/xb6.2.3 and a link must be in /usr/bin/xb ->/usr/xb6.2.3/xb
Projects : Projects should be created under /home/*user*/xbprojects.
Each project consists of a single file .x and contains the following sections:
Prolog ... defines included libraries, function declarations, and global constants.
Entry() ... where the program starts where event loop code is.
CreateWindows() ... autogenerated code for creating forms of the project
initGUI() ... system generated initialization code
initprogram() ... user created code needed to be done before windows are created.
initwindows() ... user created code needed to be done after windows are created
() ... code used to create a form in the project
() ... event code to use for the form