<s>
Basic4GL	B-Language
(	O
B4GL	B-Language
;	O
from	O
Basic	O
for	O
openGL	B-Application
)	O
is	O
an	O
interpreted	B-Application
,	O
open	B-Application
source	I-Application
version	O
of	O
the	O
BASIC	O
programming	O
language	O
which	O
features	O
support	O
for	O
3D	O
computer	O
graphics	O
using	O
OpenGL	B-Application
.	O
</s>
<s>
While	O
being	O
interpreted	B-Application
,	O
it	O
is	O
also	O
able	O
to	O
compile	B-Language
programs	O
on	O
top	O
of	O
the	O
virtual	B-Architecture
machine	I-Architecture
to	O
produce	O
standalone	O
executable	B-Application
programs	I-Application
.	O
</s>
<s>
It	O
uses	O
a	O
syntax	O
similar	O
to	O
traditional	O
dialects	O
of	O
BASIC	O
and	O
features	O
an	O
IDE	B-Application
and	O
a	O
very	O
thorough	O
and	O
comprehensive	O
debugger	B-Application
.	O
</s>
<s>
Basic4GL	B-Language
is	O
not	O
designed	O
to	O
compete	O
with	O
programming	O
languages	O
such	O
as	O
C++	B-Language
;	O
it	O
was	O
intended	O
to	O
replace	O
older	O
languages	O
such	O
as	O
QBasic	B-Language
or	O
GFA	B-Device
BASIC	I-Device
.	O
</s>
<s>
Basic4GL	B-Language
features	O
the	O
usual	O
commands	O
that	O
you	O
would	O
expect	O
to	O
find	O
in	O
a	O
version	O
of	O
BASIC	O
such	O
as	O
...	O
</s>
<s>
It	O
also	O
includes	O
a	O
few	O
features	O
that	O
C	B-Language
programmers	O
will	O
be	O
familiar	O
with	O
,	O
such	O
as	O
support	O
for	O
pointers	O
,	O
structures	O
and	O
most	O
importantly	O
the	O
entire	O
OpenGL	B-Application
v1.1	O
API	B-General_Concept
.	O
</s>
<s>
Tom	O
Mulgrew	O
created	O
Basic4GL	B-Language
from	O
a	O
desire	O
to	O
be	O
able	O
to	O
run	O
OpenGL	B-Application
functions	O
easily	O
and	O
quickly	O
,	O
without	O
all	O
of	O
the	O
setup	O
normally	O
required	O
in	O
a	O
language	O
such	O
as	O
c++	B-Language
and	O
be	O
more	O
stable	O
.	O
</s>
<s>
He	O
built	O
a	O
virtual	B-Architecture
machine	I-Architecture
similar	O
to	O
one	O
used	O
at	O
his	O
workplace	O
.	O
</s>
<s>
It	O
started	O
simply	O
,	O
with	O
few	O
OpenGL	B-Application
functions	O
and	O
minimal	O
other	O
functionality	O
.	O
</s>
<s>
The	O
first	O
version	O
was	O
named	O
GLBasic	B-Language
,	O
which	O
also	O
happens	O
to	O
be	O
a	O
commercial	O
programming	O
language	O
.	O
</s>
<s>
The	O
issue	O
was	O
civilly	O
resolved	O
,	O
and	O
Mulgrew	O
's	O
project	O
renamed	O
Basic4GL	B-Language
.	O
</s>
<s>
Mulgrew	O
set	O
himself	O
the	O
goal	O
to	O
expand	O
Basic4GL	B-Language
to	O
the	O
point	O
that	O
it	O
could	O
load	O
and	O
display	O
and	O
MD2	O
model	O
.	O
</s>
<s>
Basic4GL	B-Language
was	O
designed	O
to	O
run	O
on	O
the	O
Windows	B-Application
operating	I-Application
system	I-Application
,	O
but	O
versions	O
are	O
being	O
developed	O
for	O
Linux	B-Application
and	O
Mac	B-Application
OS	I-Application
.	O
</s>
<s>
Currently	O
Basic4GL	B-Language
is	O
being	O
ported	O
over	O
to	O
Linux	B-Application
.	O
</s>
<s>
The	O
major	O
difference	O
between	O
Basic4GL	B-Language
for	O
Windows	B-Application
and	O
the	O
new	O
Linux	B-Application
version	O
is	O
that	O
it	O
uses	O
the	O
SDL	B-Operating_System
library	I-Operating_System
rather	O
than	O
Windows	B-Application
specific	O
libraries	O
to	O
initialize	O
an	O
OpenGL	B-Application
enabled	O
window	O
.	O
</s>
<s>
There	O
is	O
also	O
a	O
Linux-based	O
project	O
to	O
create	O
an	O
extended	O
version	O
of	O
Basic4GL	B-Language
that	O
wraps	O
more	O
closely	O
to	O
the	O
SDL	B-Operating_System
library	I-Operating_System
known	O
as	O
.	O
</s>
<s>
A	O
version	O
for	O
Mac	B-Application
OS	I-Application
is	O
currently	O
under	O
development	O
.	O
</s>
<s>
When	O
the	O
above	O
code	O
is	O
entered	O
into	O
Basic4GL	B-Language
and	O
executed	O
,	O
the	O
following	O
is	O
output	O
to	O
the	O
monitor	O
screen	O
.	O
</s>
<s>
When	O
Basic4GL	B-Language
was	O
first	O
released	O
it	O
could	O
only	O
play	O
sounds	O
but	O
in	O
2006	O
support	O
for	O
music	O
was	O
added	O
using	O
the	O
Open	B-Application
Al	I-Application
sound	O
engine	O
but	O
later	O
replaced	O
with	O
Audiere	B-Library
.	O
</s>
<s>
When	O
Basic4GL	B-Language
was	O
first	O
released	O
it	O
had	O
no	O
support	O
for	O
functions	O
.	O
</s>
<s>
Now	O
Basic4GL	B-Language
has	O
full	O
support	O
for	O
local	O
variables	O
,	O
parameters	O
,	O
forward	O
declaration	O
and	O
recursion	O
.	O
</s>
<s>
In	O
August	O
2006	O
support	O
for	O
Plugin	B-Application
DLLs	O
was	O
added	O
to	O
Basic4GL	B-Language
.	O
</s>
<s>
This	O
means	O
that	O
you	O
can	O
write	O
your	O
own	O
commands	O
and	O
include	O
them	O
in	O
the	O
Basic4GL	B-Language
programming	O
language	O
,	O
all	O
you	O
need	O
is	O
a	O
C++	B-Language
Compiler	B-Language
.	O
</s>
<s>
Both	O
Basic4GL	B-Language
for	O
Windows	B-Application
and	O
the	O
new	O
Linux	B-Application
version	O
have	O
been	O
placed	O
on	O
SourceForge	B-Application
,	O
this	O
means	O
that	O
people	O
are	O
free	O
to	O
develop	O
the	O
languages	O
and	O
make	O
improvements	O
to	O
them	O
.	O
</s>
<s>
A	O
successor	O
to	O
Basic4GL	B-Language
is	O
currently	O
being	O
developed	O
dubbed	O
"	O
Basic4Games	O
"	O
.	O
</s>
