<s>
Vilnius	B-Language
BASIC	I-Language
,	O
sometimes	O
known	O
as	O
BK	O
BASIC	O
,	O
is	O
a	O
dialect	O
of	O
the	O
BASIC	O
programming	O
language	O
running	O
on	O
the	O
Elektronika	O
BK-0010-01/BK	O
-0011M	O
and	O
UKNC	B-Device
computers	O
.	O
</s>
<s>
In	O
contrast	O
to	O
most	O
microcomputer	B-Architecture
dialects	O
of	O
BASIC	O
of	O
the	O
era	O
,	O
which	O
were	O
interpreters	B-Language
,	O
Vilnius	B-Language
BASIC	I-Language
was	O
a	O
compile	O
and	O
go	O
language	O
that	O
compiled	O
the	O
source	O
when	O
the	O
user	O
entered	O
the	O
RUN	O
command	O
.	O
</s>
<s>
It	O
was	O
otherwise	O
similar	O
to	O
GW-BASIC	B-Language
and	O
MSX	B-Language
BASIC	I-Language
in	O
style	O
and	O
most	O
features	O
,	O
although	O
it	O
lacked	O
some	O
of	O
the	O
multimedia	O
commands	O
found	O
in	O
MSX	O
.	O
</s>
<s>
Only	O
the	O
UKNC	B-Device
version	O
had	O
a	O
full-screen	O
editor	O
,	O
versions	O
of	O
the	O
0010	O
series	O
machines	O
used	O
a	O
line	B-Application
editor	I-Application
.	O
</s>
<s>
Machine-dependent	O
features	O
,	O
like	O
graphics	O
operators	O
,	O
parameters	O
,	O
and	O
PEEK/POKE	B-Language
addresses	O
were	O
also	O
different	O
among	O
the	O
machines	O
.	O
</s>
<s>
In	O
contrast	O
to	O
most	O
BASIC	B-Language
dialects	I-Language
of	O
the	O
era	O
,	O
Vilnius	B-Language
BASIC	I-Language
was	O
a	O
compile	O
and	O
go	O
system	O
,	O
not	O
an	O
interpreter	B-Language
.	O
</s>
<s>
When	O
the	O
user	O
types	O
,	O
the	O
compiler	O
reads	O
the	O
code	O
and	O
produces	O
a	O
threaded	B-Application
code	I-Application
executable	O
that	O
it	O
then	O
ran	O
.	O
</s>
<s>
By	O
the	O
late	O
1970s	O
,	O
most	O
microcomputer	B-Architecture
dialects	O
offered	O
a	O
full-screen	O
editor	O
,	O
in	O
which	O
the	O
user	O
can	O
use	O
the	O
cursor	B-Device
keys	I-Device
to	O
move	O
around	O
the	O
program	O
and	O
type	O
changes	O
into	O
any	O
visible	O
line	O
of	O
code	O
.	O
</s>
<s>
The	O
Electronica	O
systems	O
were	O
emulating	O
an	O
PDP-11	B-Device
,	O
machines	O
that	O
had	O
been	O
built	O
in	O
the	O
era	O
before	O
cursor-addressable	O
computer	B-General_Concept
terminals	I-General_Concept
were	O
widely	O
available	O
and	O
thus	O
retain	O
the	O
older	O
line	B-Application
editor	I-Application
style	O
.	O
</s>
<s>
load	O
and	O
save	O
programs	O
to	O
cassette	B-Device
tape	I-Device
.	O
</s>
<s>
Vilnius	B-Language
BASIC	I-Language
had	O
four	O
basic	O
data	O
types	O
,	O
strings	O
,	O
single	O
and	O
double-precision	O
floating	B-Algorithm
point	I-Algorithm
numbers	I-Algorithm
,	O
and	O
integers	O
.	O
</s>
<s>
For	O
comparison	O
,	O
most	O
MS	O
dialects	O
used	O
a	O
5-byte	O
format	O
for	O
floating	B-Algorithm
point	I-Algorithm
.	O
</s>
<s>
Numeric	B-Algorithm
constants	O
in	O
the	O
source	O
code	O
could	O
also	O
be	O
specified	O
as	O
a	O
particular	O
type	O
using	O
the	O
same	O
indicators	O
;	O
would	O
store	O
the	O
constant	O
as	O
an	O
integer	O
,	O
or	O
stores	O
a	O
single-precision	O
value	O
0.05	O
,	O
and	O
or	O
stores	O
the	O
same	O
value	O
in	O
the	O
default	O
double-precision	O
format	O
.	O
</s>
<s>
Vilnius	O
also	O
had	O
the	O
additional	O
ability	O
to	O
allow	O
numeric	B-Algorithm
constants	O
to	O
be	O
typed	O
in	O
as	O
strings	O
of	O
binary	O
,	O
octal	O
or	O
hexadecimal	O
characters	O
,	O
by	O
prefixing	O
the	O
string	O
with	O
and	O
a	O
single	O
letter	O
indicating	O
the	O
type	O
,	O
B	O
,	O
O	O
,	O
H	O
.	O
For	O
instance	O
,	O
would	O
convert	O
the	O
hexadecimal	O
string	O
H9A8B	O
to	O
the	O
equivalent	O
decimal	O
value	O
39563	O
and	O
store	O
that	O
in	O
A	O
.	O
</s>
<s>
Numeric	B-Algorithm
functions	O
include	O
the	O
standard	O
.	O
</s>
<s>
In	O
addition	O
to	O
PEEK	B-Language
and	I-Language
POKE	I-Language
,	O
which	O
returned	O
16-bit	O
values	O
,	O
the	O
system	O
also	O
offered	O
,	O
which	O
were	O
similar	O
but	O
applied	O
a	O
bit	O
mask	O
to	O
the	O
values	O
to	O
allow	O
individual	O
bits	O
to	O
be	O
set	O
or	O
cleared	O
.	O
</s>
<s>
The	O
Electronica	O
systems	O
included	O
computer	O
graphics	O
support	O
,	O
and	O
Vilnius	B-Language
BASIC	I-Language
included	O
a	O
number	O
of	O
statements	O
to	O
work	O
with	O
graphics	O
.	O
</s>
<s>
performed	O
a	O
flood	B-Protocol
fill	I-Protocol
starting	O
at	O
(	O
100,100	O
)	O
,	O
filling	O
with	O
color	O
3	O
and	O
moving	O
outward	O
until	O
it	O
saw	O
color	O
1	O
.	O
</s>
