<s>
In	O
computing	O
,	O
direct	O
or	O
immediate	O
mode	O
in	O
an	O
interactive	O
programming	O
system	O
is	O
the	O
immediate	O
execution	O
of	O
commands	B-Application
,	O
statements	O
,	O
or	O
expressions	O
.	O
</s>
<s>
In	O
many	O
interactive	O
systems	O
,	O
most	O
of	O
these	O
can	O
both	O
be	O
included	O
in	O
programs	O
or	O
executed	O
directly	O
in	O
a	O
read	B-Application
–	I-Application
eval	I-Application
–	I-Application
print	I-Application
loop	I-Application
(	O
REPL	B-Application
)	O
.	O
</s>
<s>
Most	O
interactive	O
systems	O
also	O
offer	O
the	O
possibility	O
of	O
defining	O
programs	O
in	O
the	O
REPL	B-Application
,	O
either	O
with	O
explicit	O
declarations	O
,	O
such	O
as	O
Python	B-Language
's	O
def	O
,	O
or	O
by	O
labelling	O
them	O
with	O
line	B-Application
numbers	I-Application
.	O
</s>
<s>
Many	O
programming	O
systems	O
,	O
from	O
Lisp	B-Language
and	O
JOSS	B-Language
to	O
Python	B-Language
and	O
Perl	B-Language
have	O
interactive	O
REPLs	B-Application
which	O
also	O
allow	O
defining	O
programs	O
.	O
</s>
<s>
Most	O
integrated	B-Application
development	I-Application
environments	I-Application
offer	O
a	O
direct	B-Application
mode	I-Application
where	O
,	O
during	O
debugging	B-Application
and	O
while	O
the	O
program	O
execution	O
is	O
suspended	O
,	O
commands	B-Application
can	O
be	O
executed	O
directly	O
in	O
the	O
current	O
scope	O
and	O
the	O
result	O
is	O
displayed	O
.	O
</s>
