Jump to content

Basic4GL

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Visi calc (talk | contribs) at 20:19, 3 January 2007 (Removed some spacing). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Basic4GL
Basic4GL Logo
DeveloperTom Mulgrew
Stable release
v2.4.3 / Aug 19 - 2006
OSWindows
LicenseGpl
Websitehttp://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...

  • PRINT
  • INPUT
  • GOSUB

It also includes a few features that C programmers will be familar 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.

See also