<s>
4D	B-Language
(	O
4th	B-Language
Dimension	I-Language
,	O
or	O
Silver	O
Surfer	O
,	O
as	O
it	O
was	O
known	O
during	O
early	O
development	O
)	O
is	O
a	O
relational	B-Application
database	I-Application
management	I-Application
system	I-Application
and	O
IDE	B-Application
developed	O
by	O
Laurent	O
Ribardière	O
.	O
</s>
<s>
4D	B-Language
was	O
created	O
in	O
1984	O
and	O
had	O
a	O
slightly	O
delayed	O
public	O
release	O
for	O
Macintosh	B-Device
in	O
1987	O
with	O
its	O
own	O
programming	O
language	O
.	O
</s>
<s>
The	O
4D	B-Language
product	O
line	O
has	O
since	O
expanded	O
to	O
an	O
SQL	B-Language
back-end	B-Architecture
,	O
integrated	O
compiler	B-Language
,	O
integration	O
of	O
PHP	B-Application
,	O
and	O
several	O
productivity	O
plug-ins	O
and	O
interfaces	O
.	O
</s>
<s>
Some	O
of	O
the	O
plug-ins	O
created	O
by	O
4D	B-Language
include	O
4D	B-Language
Write	O
(	O
a	O
word	O
processor	O
)	O
,	O
4D	B-Language
View	O
(	O
somewhat	O
like	O
a	O
spreadsheet	O
,	O
but	O
with	O
extra	O
functionality	O
)	O
and	O
4D	B-Language
Internet	O
Commands	O
(	O
which	O
allowed	O
for	O
the	O
addition	O
of	O
Internet-related	O
functionality	O
to	O
a	O
database	O
)	O
.	O
</s>
<s>
4D	B-Language
can	O
also	O
be	O
used	O
as	O
a	O
web	B-Application
server	I-Application
,	O
to	O
run	O
compiled	B-Language
database	O
applications	O
.	O
</s>
<s>
Today	O
,	O
4D	B-Language
is	O
published	O
by	O
the	O
French	O
company	O
4D	B-Language
SAS	O
and	O
has	O
a	O
sales	O
,	O
distribution	O
and	O
support	O
presence	O
in	O
most	O
major	O
markets	O
,	O
with	O
the	O
United	O
States	O
,	O
the	O
United	O
Kingdom	O
,	O
and	O
France	O
being	O
the	O
primary	O
markets	O
.	O
</s>
<s>
Apple	O
tried	O
at	O
the	O
time	O
to	O
ensure	O
well-known	O
software	O
publishers	O
supported	O
the	O
Macintosh	B-Device
platform	O
,	O
and	O
as	O
a	O
result	O
the	O
project	O
reverted	O
to	O
Laurent	O
Ribardière	O
,	O
who	O
with	O
the	O
French	O
businesswoman	O
Marylene	O
Delbourg-Delphis	O
published	O
4th	B-Language
Dimension	I-Language
.	O
</s>
<s>
Although	O
independently	O
published	O
,	O
Apple	O
supported	O
the	O
new	O
venture	O
and	O
used	O
4D	B-Language
extensively	O
throughout	O
the	O
organization	O
for	O
projects	O
including	O
fitness	O
center	O
management	O
and	O
CIM	O
(	O
Computer	O
Integrated	O
Manufacturing	O
)	O
.	O
</s>
<s>
A	O
number	O
of	O
Apple	O
personnel	O
became	O
4D	B-Language
experts	O
,	O
including	O
Lance	O
McAndrew	O
in	O
Apple	O
's	O
Cupertino	O
headquarters	O
and	O
Andrew	O
O'Donoghue	O
in	O
Apple	O
's	O
Ireland-based	O
European	O
manufacturing	O
headquarters	O
,	O
where	O
a	O
4th	B-Language
Dimension	I-Language
application	O
managed	O
the	O
European	O
Service	O
Center	O
administration	O
.	O
</s>
<s>
Over	O
the	O
next	O
few	O
years	O
4th	B-Language
Dimension	I-Language
's	O
installed	O
base	O
grew	O
,	O
and	O
the	O
publisher	O
ACI	O
established	O
a	O
US-based	O
subsidiary	O
called	O
ACIUS	B-Language
,	O
initially	O
led	O
by	O
Guy	O
Kawasaki	O
.	O
</s>
<s>
After	O
16	O
years	O
of	O
operating	O
as	O
ACIUS	B-Language
up	O
to	O
2000	O
,	O
the	O
name	O
was	O
officially	O
changed	O
to	O
4D	B-Language
Inc	O
.	O
</s>
<s>
In	O
1993	O
,	O
4D	B-Language
Server	O
v1.1	O
,	O
the	O
client/server	O
version	O
of	O
4th	B-Language
Dimension	I-Language
was	O
introduced	O
along	O
with	O
the	O
release	O
of	O
4th	B-Language
Dimension	I-Language
v3.1	O
.	O
</s>
<s>
In	O
1995	O
,	O
4D	B-Language
v3.5	O
went	O
cross-platform	O
and	O
has	O
since	O
then	O
supported	O
both	O
the	O
Microsoft	B-Application
Windows	I-Application
and	O
Apple	B-Device
Macintosh	I-Device
operating	O
systems	O
.	O
</s>
<s>
In	O
1997	O
,	O
4D	B-Language
v6	O
was	O
the	O
first	O
version	O
of	O
4D	B-Language
to	O
contain	O
a	O
fully	O
integrated	O
web	B-Application
server	I-Application
,	O
allowing	O
developers	O
to	O
translate	O
4D	B-Language
forms	O
into	O
HTML	O
on	O
the	O
fly	O
using	O
only	O
the	O
4D	B-Language
language	O
.	O
</s>
<s>
In	O
2004	O
,	O
4D	B-Language
2004	O
was	O
the	O
first	O
version	O
of	O
4D	B-Language
to	O
allow	O
developers	O
to	O
create	O
standalone	O
,	O
client/server	O
,	O
web	O
and	O
Service	O
Oriented	O
Applications	O
(	O
SOA	O
)	O
without	O
changing	O
any	O
code	O
.	O
</s>
<s>
In	O
2008	O
,	O
4D	B-Language
v11	O
added	O
a	O
SQL	B-Language
layer	O
to	O
the	O
4D	B-Language
database	O
engine	O
and	O
extending	O
native	O
SQL	B-Language
in	O
to	O
the	O
4D	B-Language
programming	O
language	O
which	O
allowed	O
4D	B-Language
developers	O
to	O
write	O
native	O
SQL	B-Language
code	O
to	O
connect	O
to	O
either	O
local	O
or	O
remote	O
servers	O
.	O
</s>
<s>
In	O
2010	O
,	O
4D	B-Language
v12	O
integrated	O
the	O
ability	O
to	O
execute	O
PHP	B-Application
functions/scripts	O
from	O
within	O
the	O
4D	B-Language
programming	O
language	O
.	O
</s>
<s>
This	O
version	O
also	O
supported	O
new	O
replication	O
and	O
synchronization	O
commands	O
and	O
included	O
a	O
64	O
bit	O
version	O
of	O
4D	B-Language
Server	O
.	O
</s>
<s>
A	O
4D	B-Language
application	O
can	O
run	O
in	O
either	O
Standalone	O
mode	O
or	O
Client-Server	O
mode	O
.	O
</s>
<s>
In	O
Standalone	O
mode	O
,	O
the	O
4D	B-Language
application	O
(	O
4D.exe	O
on	O
Windows	O
or	O
4D.app	O
on	O
Mac	B-Device
)	O
is	O
used	O
to	O
open	O
the	O
structure	O
file	O
(	O
4DB/4DC	O
)	O
file	O
directly	O
along	O
with	O
the	O
associated	O
data	O
file	O
(	O
4DD	O
)	O
.	O
</s>
<s>
In	O
the	O
Client-Server	O
paradigm	O
the	O
4D	B-Language
Server	O
application	O
(	O
4DServer.exe	O
on	O
Windows	O
or	O
4DServer.app	O
on	O
Mac	B-Device
)	O
is	O
used	O
to	O
open	O
the	O
structure	O
file	O
(	O
4DB/4DC	O
)	O
file	O
directly	O
along	O
with	O
the	O
associated	O
data	O
file	O
(	O
4DD	O
)	O
.	O
</s>
<s>
4D	B-Language
may	O
then	O
be	O
used	O
in	O
remote	O
mode	O
to	O
connect	O
to	O
the	O
4D	B-Language
Server	O
.	O
</s>
<s>
4D	B-Language
has	O
two	O
applications	O
;	O
4D	B-Language
and	O
4D	B-Language
Server	O
.	O
</s>
<s>
4D	B-Language
Server	O
runs	O
only	O
as	O
a	O
server	O
but	O
4D	B-Language
can	O
be	O
run	O
in	O
either	O
standalone	O
or	O
remote	O
mode	O
.	O
</s>
<s>
4D	B-Language
can	O
be	O
run	O
in	O
two	O
modes	O
.	O
</s>
<s>
4D	B-Language
in	O
single-user	O
mode	O
allows	O
for	O
1	O
person	O
to	O
run	O
the	O
application	O
.	O
</s>
<s>
4D	B-Language
in	O
remote	O
mode	O
is	O
used	O
for	O
connecting	O
to	O
a	O
4D	B-Language
Server	O
.	O
</s>
<s>
4D	B-Language
Server	O
is	O
used	O
for	O
Client-Server	O
connectivity	O
to	O
the	O
application	O
.	O
</s>
<s>
In	O
this	O
mode	O
,	O
4D	B-Language
Server	O
loads	O
the	O
structure	O
file	O
(	O
4DB	O
or	O
4DC	O
)	O
and	O
also	O
the	O
datafile	O
(	O
4DD	O
)	O
and	O
provides	O
network	O
access	O
to	O
4D	B-Language
(	O
in	O
remote	O
)	O
.	O
</s>
<s>
Each	O
workstation	O
has	O
a	O
dynamically	O
updated	O
cache	O
of	O
the	O
resources	O
they	O
are	O
working	O
with	O
,	O
while	O
the	O
4D	B-Language
Server	O
maintains	O
the	O
data	O
and	O
code	O
.	O
</s>
<s>
This	O
section	O
will	O
include	O
syntax	O
examples	O
demonstrating	O
different	O
programming	O
constructs	O
used	O
in	O
4D	B-Language
,	O
such	O
as	O
for	O
loops	O
and	O
variable	O
usage	O
.	O
</s>
<s>
4D	B-Language
fields	O
,	O
variables	O
,	O
and	O
expressions	O
can	O
be	O
of	O
the	O
following	O
data	O
types	O
:	O
</s>
