Basic4GL
![]() | |
Developer | Tom Mulgrew |
---|---|
Stable release | v2.4.3
/ Aug 19 - 2006 |
OS | Windows |
License | Gpl |
Website | http://www.basic4gl.net |
Dialects | |
BASIC |
Basic4GL is an interpreted, open source version of the BASIC programming language which also features support for 3D computer graphics using OpenGL.
It uses a syntax similar to traditional dialects of BASIC and features an IDE and a Debugger.
Basic4GL is not designed to compete with programming languages such as C++; it was intended to replace older languages such as QBasic or GFA BASIC.
Basic4GL features the usual commands that you would expect to find in a version of BASIC such as...
- INPUT
- GOSUB
It also includes a few features that C programmers will be familiar with, such as support for pointers and structures.
Example
Dim A For A = 0 To 4 Printr "Hello "; A Next
When the above code is entered into Basic4GL and executed, you should see the following output on your monitor screen.
Hello 0 Hello 1 Hello 2 Hello 3 Hello 4
Plugins
In August 2006 support for Plugin DLL's was added to Basic4GL. This means that you can write your own commands and include them in the Basic4GL programming language, all you need is a C++ Compiler such as Codeblocks.
Basic4GL for Linux
Currently Basic4GL is being ported over to Linux. The major difference between Basic4GL for Windows and the new Linux version is that it uses the SDL library rather than GLUT to initialize an OpenGL enabled window.
See also
External links