<s>
PureBasic	B-Application
is	O
a	O
commercially	B-Application
distributed	I-Application
procedural	B-Application
computer	O
programming	O
language	O
and	O
integrated	B-Application
development	I-Application
environment	I-Application
based	O
on	O
BASIC	O
and	O
developed	O
by	O
Fantaisie	O
Software	O
for	O
Windows	B-Application
,	O
Linux	B-Application
,	O
and	O
macOS	B-Application
.	O
</s>
<s>
An	O
Amiga	B-Device
version	O
is	O
available	O
,	O
although	O
it	O
has	O
been	O
discontinued	O
and	O
some	O
parts	O
of	O
it	O
are	O
released	O
as	O
open-source	O
.	O
</s>
<s>
The	O
first	O
public	O
release	O
of	O
PureBasic	B-Application
for	O
Windows	B-Application
was	O
on	O
17	O
December	O
2000	O
.	O
</s>
<s>
PureBasic	B-Application
has	O
a	O
"	O
lifetime	O
license	O
model	O
"	O
.	O
</s>
<s>
As	O
cited	O
on	O
the	O
website	O
,	O
the	O
first	O
PureBasic	B-Application
user	O
(	O
who	O
registered	O
in	O
1998	O
)	O
still	O
has	O
free	O
access	O
to	O
new	O
updates	O
and	O
this	O
is	O
not	O
going	O
to	O
change	O
.	O
</s>
<s>
PureBasic	B-Application
compiles	O
directly	O
to	O
IA-32	B-Device
,	O
x86-64	B-Device
,	O
PowerPC	B-Architecture
or	O
680x0	B-Device
instruction	O
sets	O
,	O
generating	O
small	O
standalone	O
executables	B-Application
and	O
DLLs	O
which	O
need	O
no	O
runtime	O
libraries	O
beyond	O
the	O
standard	O
system	O
libraries	O
.	O
</s>
<s>
Programs	O
developed	O
without	O
using	O
the	O
platform-specific	O
application	B-Application
programming	I-Application
interfaces	I-Application
(	O
APIs	B-Application
)	O
can	O
be	O
built	O
easily	O
from	O
the	O
same	O
source	O
file	O
with	O
little	O
or	O
no	O
modification	O
.	O
</s>
<s>
PureBasic	B-Application
supports	O
inline	B-Language
assembly	I-Language
,	O
allowing	O
the	O
developer	O
to	O
include	O
FASM	B-Application
assembler	O
commands	O
within	O
PureBasic	B-Application
source	O
code	O
,	O
while	O
using	O
the	O
variables	O
declared	O
in	O
PureBasic	B-Application
source	O
code	O
,	O
enabling	O
experienced	O
programmers	O
to	O
improve	O
the	O
speed	O
of	O
speed-critical	O
sections	O
of	O
code	O
.	O
</s>
<s>
PureBasic	B-Application
supports	O
and	O
has	O
integrated	O
the	O
OGRE	B-Application
3D	O
Environment	O
.	O
</s>
<s>
Other	O
3D	O
environments	O
such	O
as	O
the	O
Irrlicht	B-Language
Engine	I-Language
are	O
unofficially	O
supported	O
.	O
</s>
<s>
PureBasic	B-Application
is	O
a	O
native	O
cross	O
platform	O
32	O
bit	O
and	O
64	O
bit	O
BASIC	O
compiler	O
.	O
</s>
<s>
Currently	O
supported	O
systems	O
are	O
Windows	B-Application
,	O
Linux	B-Application
,	O
macOS	B-Application
.	O
</s>
<s>
The	O
AmigaOS	B-Application
version	O
is	O
legacy	O
and	O
open-source	O
.	O
</s>
<s>
The	O
compiler	O
produces	O
native	O
executables	B-Application
and	O
the	O
syntax	O
of	O
PureBasic	B-Application
is	O
simple	O
and	O
straightforward	O
,	O
comparable	O
to	O
plain	O
C	O
without	O
the	O
brackets	O
and	O
with	O
native	O
unicode	O
string	O
handling	O
and	O
a	O
large	O
library	O
of	O
built-in	O
support	O
functions	O
.	O
</s>
<s>
The	O
following	O
single	O
line	O
of	O
PureBasic	B-Application
code	O
will	O
create	O
a	O
standalone	O
x86	O
executable	B-Application
(	O
4.5	O
KiB	O
(	O
4,608	O
bytes	O
)	O
on	O
Windows	B-Application
version	O
)	O
that	O
displays	O
a	O
message	O
box	O
with	O
the	O
text	O
"	O
Hello	O
World	O
"	O
.	O
</s>
<s>
And	O
the	O
following	O
variant	O
of	O
the	O
same	O
code	O
,	O
which	O
instead	O
uses	O
an	O
inline	O
Windows	B-Library
API	I-Library
call	O
with	O
no	O
need	O
for	O
declarations	O
or	O
other	O
external	O
references	O
,	O
will	O
create	O
an	O
even	O
smaller	O
2.0	O
KiB	O
(	O
2,048	O
bytes	O
)	O
standalone	O
x86	O
executable	B-Application
for	O
Windows	B-Application
.	O
</s>
<s>
PureBasic	B-Application
is	O
a	O
"	O
Second	O
generation	O
BASIC	O
"	O
language	O
,	O
with	O
structured	B-Language
conditionals	O
and	O
loops	O
,	O
and	O
procedure-oriented	O
programming	O
supported	O
.	O
</s>
<s>
Below	O
is	O
a	O
sample	O
procedure	O
for	O
sorting	O
an	O
array	O
,	O
although	O
SortArray	O
is	O
now	O
a	O
built-in	O
function	O
of	O
PureBasic	B-Application
.	O
</s>
<s>
Note	O
that	O
PureBasic	B-Application
does	O
not	O
escape	O
double	O
quotes	O
in	O
strings	O
so	O
these	O
must	O
be	O
concatenated	O
with	O
.	O
</s>
<s>
Fred	O
,	O
the	O
developer	O
of	O
PureBasic	B-Application
,	O
has	O
stated	O
that	O
PureBasic	B-Application
will	O
never	O
be	O
object	B-Language
oriented	I-Language
.	O
</s>
<s>
However	O
,	O
numerous	O
users	O
have	O
created	O
object	B-Language
oriented	I-Language
support	O
systems	O
.	O
</s>
<s>
Integer	O
8	O
bytes	O
(	O
64	O
bits	O
)	O
x64	B-Device
−9223372036854775808	O
...	O
+9223372036854775807	O
Quad	O
8	O
bytes	O
(	O
64	O
bits	O
)	O
−9223372036854775808	O
...	O
+9223372036854775807	O
Double	O
8	O
bytes	O
(	O
64	O
bits	O
)	O
Depending	O
on	O
the	O
ratio	O
of	O
the	O
decimal	O
number	O
.	O
</s>
<s>
String	O
(	O
String	O
length	O
+	O
1	O
)	O
*	O
SizeOf(Character )	O
No	O
limit	O
.	O
</s>
<s>
Fixed	O
String	O
}	O
(	O
String	O
length	O
)	O
*	O
SizeOf(Character )	O
No	O
limit	O
.	O
</s>
<s>
PureBasic	B-Application
has	O
its	O
own	O
form	B-Language
designer	O
to	O
aid	O
in	O
the	O
creation	O
of	O
forms	O
for	O
applications	O
,	O
but	O
other	O
third-party	O
solutions	O
are	O
also	O
available	O
.	O
</s>
<s>
The	O
original	O
non-integrated	O
Visual	O
Designer	O
was	O
replaced	O
with	O
a	O
new	O
integrated	O
Form	B-Language
Designer	O
on	O
14	O
Feb	O
2013	O
.	O
</s>
<s>
PureBasic	B-Application
provides	O
an	O
online	O
forum	O
for	O
users	O
to	O
ask	O
questions	O
and	O
share	O
knowledge	O
.	O
</s>
<s>
Numerous	O
code	O
sharing	O
sites	O
show	O
PureBasic	B-Application
is	O
used	O
to	O
create	O
tools	O
and	O
games	O
in	O
a	O
fast	O
and	O
easy	O
way	O
,	O
and	O
share	O
large	O
amounts	O
of	O
open-source	O
code	O
.	O
</s>
