Tom Mulgrew created Basic4GL from a desire to be able to run OpenGL functions easily and quickly,1 without all of the setup normally required in a language such as c++ and be more stable. He built a virtual machine similar to one used at his workplace. It started simply, with few OpenGL functions and minimal other functionality. The first version was relatively popular.2
The first version was named GLBasic,3 which also happens to be a commercial programming language. The issue was civilly resolved, and Mulgrew's project renamed Basic4GL.
Mulgrew set himself the goal to expand Basic4GL to the point that it could load and display and MD2 model.4
2.3.0 - Added networking capability5
2.3.5 - Support for code compilation at runtime6
2.4.2 - Changed sound system from OpenAL to Audiere7
2.4.3 - Support for Plugin DLLs added8
2.5.0 - Support for functions added9
2.5.8 - Support for hexadecimal numbers10
Basic4GL was designed to run on the Windows operating system, but versions were being developed for Linux and Mac OS. Meanwhile, Gambas also features an OpenGL 2.1 component, with GL bindings also available for FreeBASIC and QB64.
Basic4GL was being ported over to Linux. The major difference between Basic4GL for Windows and the attempted Linux version is that it uses the SDL library rather than Windows specific libraries to initialize an OpenGL enabled window.
A version for Mac OS was also under development. No working versions have been released.
Based on the Linux build, a project to create an extended version of Basic4GL that wraps more closely to the SDL library (not to be confused with SDLBasic).11
A successor to Basic4GL was also being developed dubbed "Basic4Games". Only one preview has been released.
A port of the language to the Java virtual machine.12
When the above code is entered into Basic4GL and executed, the following is output to the monitor screen.
When Basic4GL was first released it could only play sounds but in 2006 support for music was added using the Open Al sound engine but later replaced with Audiere.
When Basic4GL was first released it had no support for functions. That changed however when version 2.5.0 was released in January 2008. Now Basic4GL has full support for local variables, parameters, forward declaration and recursion.
In August 2006 support for Plugin DLLs 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. Plugins expand the capabilities of Basic4GL and many exist, providing such things as physics engines, TrueType Fonts, collision detection etc.
Both Basic4GL for Windows and the new Linux version have been placed on SourceForge, this means that people are free to develop the languages and make improvements to them.
Mulgrew, Tom. "Any Questions?". ProBoards. Retrieved 14 June 2011. http://basic4gl.proboards.com/index.cgi?action=display&board=general&thread=1984&page=1#12442 ↩
Mulgrew, Tom. "v2.3.0 released". ProBoards. Retrieved 14 June 2011. http://basic4gl.proboards.com/index.cgi?board=Announce&action=display&thread=1803 ↩
Mulgrew, Tom. "Version 2.3.5 released". ProBoards. Retrieved 14 June 2011. http://basic4gl.proboards.com/index.cgi?board=Announce&action=display&thread=1808 ↩
Mulgrew, Tom. "Basic4GL v2.4.2 is released". ProBoards. Retrieved 14 June 2011. http://basic4gl.proboards.com/index.cgi?board=Announce&action=display&thread=1813 ↩
Mulgrew, Tom. "Basic4GL v2.4.3 is released". ProBoards. Retrieved 14 June 2011. http://basic4gl.proboards.com/index.cgi?board=Announce&action=display&thread=1816 ↩
Mulgrew, Tom. "Basic4GL v2.5.0". ProBoards. Retrieved 14 June 2011. http://basic4gl.proboards.com/index.cgi?board=Announce&action=display&thread=1831 ↩
Mulgrew, Tom. "Home". Archived from the original on 21 July 2011. Retrieved 18 July 2011. http://www.basic4gl.net/ ↩
Wybiral (2007-02-18). "Basic". Ubuntu Forums. Basic4SDL: It's mostly an OpenGL+SDL playground for 3d graphics and such... But it works on linux and stays pretty true to the BASIC syntax. https://ubuntuforums.org/showthread.php?t=363625 ↩
Proven, Liam (2023-03-28). "Nostalgic for VB? BASIC is anything but dead". The Register. Retrieved 2023-09-27. While Basic4GL has gone quiet, a port of it to the JVM, Basic4GLj is in active development. https://www.theregister.com/2023/03/28/nostalgic_for_basic/ ↩