<s>
Microsoft	B-Language
Small	I-Language
Basic	I-Language
is	O
a	O
programming	O
language	O
,	O
interpreter	B-Language
and	O
associated	O
IDE	B-Application
.	O
</s>
<s>
Microsoft	O
's	O
simplified	O
variant	O
of	O
BASIC	O
,	O
it	O
is	O
designed	O
to	O
help	O
students	O
who	O
have	O
learnt	O
visual	B-Language
programming	I-Language
languages	I-Language
such	O
as	O
Scratch	B-Language
learn	O
text-based	O
programming	O
.	O
</s>
<s>
The	O
associated	O
IDE	B-Application
provides	O
a	O
simplified	O
programming	B-Application
environment	I-Application
with	O
functionality	O
such	O
as	O
syntax	O
highlighting	O
,	O
intelligent	B-Application
code	I-Application
completion	I-Application
,	O
and	O
in-editor	O
documentation	O
access	O
.	O
</s>
<s>
Microsoft	O
announced	O
Small	B-Language
Basic	I-Language
in	O
October	O
2008	O
,	O
and	O
released	O
the	O
first	O
stable	O
version	O
for	B-Language
distribution	O
on	O
July	O
12	O
,	O
2011	O
,	O
on	O
a	O
Microsoft	O
Developer	O
Network	O
(	O
MSDN	O
)	O
website	O
,	O
together	O
with	O
a	O
teaching	O
curriculum	O
and	O
an	O
introductory	O
guide	O
.	O
</s>
<s>
On	O
March	O
27	O
,	O
2015	O
,	O
Microsoft	O
released	O
Small	B-Language
Basic	I-Language
version	O
1.1	O
,	O
which	O
fixed	O
a	O
bug	O
and	O
upgraded	O
the	O
targeted	O
.NET	B-Application
Framework	I-Application
version	O
from	O
version	O
3.5	O
to	O
version	O
4.5	O
,	O
making	O
it	O
the	O
first	O
version	O
incompatible	O
with	O
Windows	B-Application
XP	I-Application
.	O
</s>
<s>
Microsoft	O
released	O
Small	B-Language
Basic	I-Language
version	O
1.2	O
on	O
October	O
1	O
,	O
2015	O
.	O
</s>
<s>
Version	O
1.2	O
was	O
the	O
first	O
update	O
after	O
a	O
four-year	O
hiatus	O
to	O
introduce	O
new	O
features	O
to	O
Small	B-Language
Basic	I-Language
.	O
</s>
<s>
The	O
update	O
added	O
classes	O
for	B-Language
working	O
with	O
Microsoft	O
's	O
Kinect	B-Algorithm
motion	O
sensors	O
,	O
increased	O
the	O
number	O
of	O
languages	O
supported	O
by	O
the	O
included	O
Dictionary	O
object	O
,	O
and	O
fixed	O
a	O
number	O
of	O
bugs	O
.	O
</s>
<s>
On	O
February	O
19	O
,	O
2019	O
,	O
Microsoft	O
announced	O
Small	B-Language
Basic	I-Language
Online	I-Language
(	O
SBO	O
)	O
.	O
</s>
<s>
It	O
is	O
open	B-License
source	I-License
software	O
released	O
under	O
MIT	B-License
License	I-License
on	O
GitHub	B-Application
.	O
</s>
<s>
In	O
Small	B-Language
Basic	I-Language
,	O
one	O
writes	O
the	O
illustrative	O
"	O
Hello	O
,	O
World	O
!	O
"	O
</s>
<s>
Microsoft	B-Language
Small	I-Language
Basic	I-Language
is	O
Turing	B-Algorithm
complete	I-Algorithm
.	O
</s>
<s>
It	O
supports	O
conditional	B-General_Concept
branching	I-General_Concept
,	O
loop	B-Language
structures	O
,	O
and	O
subroutines	O
for	B-Language
event	O
handling	O
.	O
</s>
<s>
Variables	O
are	O
weakly	O
typed	O
and	O
dynamic	B-Language
with	O
no	O
scoping	B-Language
rules	I-Language
.	O
</s>
<s>
The	O
following	O
example	O
demonstrates	O
conditional	B-General_Concept
branching	I-General_Concept
.	O
</s>
<s>
It	O
ask	O
the	O
user	O
for	B-Language
Celsius	B-Operating_System
or	O
Fahrenheit	B-Library
and	O
then	O
comments	O
on	O
the	O
answer	O
in	O
the	O
appropriate	O
temperature	O
unit	O
.	O
</s>
<s>
Small	B-Language
Basic	I-Language
does	O
not	O
support	O
an	O
inline	O
If	O
statement	O
as	O
does	O
Visual	B-Language
Basic	I-Language
,	O
for	B-Language
example	O
:	O
</s>
<s>
This	O
example	O
demonstrates	O
a	O
loop	B-Language
.	O
</s>
<s>
While	O
loops	O
are	O
also	O
supported	O
,	O
and	O
the	O
demonstrated	O
For	B-Language
loop	I-Language
can	O
be	O
augmented	O
through	O
the	O
use	O
of	O
the	O
Step	O
keyword	O
.	O
</s>
<s>
Small	B-Language
Basic	I-Language
supports	O
basic	O
data	O
types	O
,	O
like	O
strings	B-Language
,	O
integers	O
and	O
decimals	B-Algorithm
,	O
and	O
will	O
readily	O
convert	O
one	O
type	O
to	O
another	O
as	O
required	O
by	O
the	O
situation	O
.	O
</s>
<s>
In	O
the	O
example	O
,	O
both	O
the	O
Read	O
and	O
ReadNumber	O
methods	O
read	O
a	O
string	O
from	O
the	O
command	O
line	O
,	O
but	O
ReadNumber	O
rejects	O
any	O
non-numeric	O
characters	O
.	O
</s>
<s>
This	O
allows	O
the	O
string	O
to	O
be	O
converted	O
to	O
a	O
numeric	B-Algorithm
type	O
and	O
treated	O
as	O
a	O
number	O
rather	O
than	O
a	O
string	O
by	O
the	O
+	O
operator	O
.	O
</s>
<s>
As	O
Small	B-Language
Basic	I-Language
will	O
readily	O
convert	O
among	O
data	O
types	O
,	O
numbers	O
can	O
be	O
manipulated	O
as	O
strings	B-Language
and	O
numeric	B-Algorithm
strings	B-Language
as	O
numbers	O
.	O
</s>
<s>
In	O
the	O
second	O
example	O
,	O
both	O
strings	B-Language
are	O
treated	O
as	O
numbers	O
and	O
added	O
together	O
,	O
producing	O
the	O
output	O
3100	O
.	O
</s>
<s>
The	O
Small	B-Language
Basic	I-Language
standard	B-Library
library	I-Library
includes	O
basic	O
classes	O
for	B-Language
mathematics	O
,	O
string	O
handling	O
,	O
and	O
input/output	B-General_Concept
,	O
as	O
well	O
as	O
more	O
exotic	O
classes	O
that	O
are	O
intended	O
to	O
make	O
using	O
the	O
language	O
more	O
fun	O
for	B-Language
learners	O
.	O
</s>
<s>
Examples	O
of	O
these	O
include	O
a	O
Turtle	B-Application
graphics	I-Application
class	O
,	O
a	O
class	O
for	B-Language
retrieving	O
photos	O
from	O
Flickr	B-Algorithm
,	O
and	O
classes	O
for	B-Language
interacting	O
with	O
Microsoft	B-Algorithm
Kinect	I-Algorithm
sensors	O
.	O
</s>
<s>
To	O
make	O
the	O
classes	O
easier	O
to	O
use	O
for	B-Language
learners	O
,	O
they	O
have	O
been	O
simplified	O
.	O
</s>
<s>
This	O
simplification	O
is	O
demonstrated	O
through	O
the	O
code	O
used	O
to	O
retrieve	O
a	O
random	O
mountain-themed	O
image	O
from	O
Flickr	B-Algorithm
:	O
</s>
<s>
Small	B-Language
Basic	I-Language
includes	O
a	O
"	O
Turtle	O
"	O
graphics	O
library	O
that	O
borrows	O
from	O
the	O
Logo	B-Device
family	O
of	O
programming	O
languages	O
.	O
</s>
<s>
For	B-Language
example	O
,	O
to	O
draw	O
a	O
square	O
using	O
the	O
turtle	O
,	O
the	O
turtle	O
is	O
moved	O
forward	O
by	O
a	O
given	O
number	O
of	O
pixels	O
and	O
rotated	O
90	O
degrees	O
in	O
a	O
given	O
direction	O
.	O
</s>
<s>
More	O
complex	O
drawings	O
are	O
possible	O
by	O
altering	O
the	O
turning	O
angle	O
of	O
the	O
turtle	O
and	O
the	O
number	O
of	O
iterations	O
of	O
the	O
loop	B-Language
.	O
</s>
<s>
For	B-Language
example	O
,	O
one	O
can	O
draw	O
a	O
hexagon	B-Application
by	O
setting	O
the	O
turn	O
angle	O
to	O
60	O
degrees	O
and	O
the	O
number	O
of	O
iterations	O
to	O
six	O
.	O
</s>
<s>
Small	B-Language
Basic	I-Language
allows	O
the	O
use	O
of	O
third-party	O
libraries	O
.	O
</s>
<s>
These	O
libraries	O
must	O
be	O
written	O
in	O
a	O
CLR-compatible	O
language	O
,	O
and	O
the	O
compiled	O
binaries	O
must	O
target	O
a	O
compatible	O
.NET	B-Application
Framework	I-Application
version	O
.	O
</s>
<s>
The	O
classes	O
provided	O
by	O
the	O
library	O
are	O
required	O
to	O
be	O
static	B-General_Concept
,	O
flagged	O
with	O
a	O
specific	O
attribute	O
,	O
and	O
must	O
use	O
a	O
specific	O
data	O
type	O
.	O
</s>
<s>
An	O
example	O
of	O
a	O
class	O
to	O
be	O
used	O
in	O
Small	B-Language
Basic	I-Language
is	O
provided	O
below	O
,	O
written	O
in	O
C#	B-Application
.	O
</s>
<s>
If	O
available	O
,	O
the	O
Small	B-Language
Basic	I-Language
development	O
environment	O
will	O
display	O
documentation	O
for	B-Language
third-party	O
libraries	O
.	O
</s>
<s>
The	O
development	O
environment	O
accepts	O
documentation	O
in	O
the	O
form	O
of	O
an	O
XML	B-Protocol
file	O
,	O
which	O
can	O
be	O
automatically	O
generated	O
from	O
source	O
code	O
comments	O
by	O
tools	O
such	O
as	O
Microsoft	B-Application
Visual	I-Application
Studio	I-Application
and	O
MonoDevelop	B-Language
.	O
</s>
