EasyManua.ls Logo

IBM 5100 - Page 149

IBM 5100
228 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
(
Requesting Keyboard Input during Function Execution
The D (quad) appearing anywhere
other
than
immediately
to
the
left
of
the
assign-
ment
arrow
indicates
that
keyboard
input
is
required. When
the
D
is
encountered
in
the
function,
the
two
symbols
D:
(a
quad symbol followed by a colon) are dis-
played,
the
display
is
moved
up
one
line, and
the
cursor appears. The
quad
and
colon symbols are displayed
to
alert
the
user
that
input
is
required. Any valid
expression
entered
at
this
point
is
evaluated and
the
result
is
substituted
for
the
quad. You can escape
from
a quad
input
request by entering
the
right
arrow
~.
An invalid
entry
in
response
to
request
for
input
results
in
an
appropriate
error
message and
the
request for
input
is
made again. Any system
commands
entered
will be
executed,
after
which
the
request for
input
will again be made. An
empty
input
(no keying)
is
rejected
and
the
5100
again displays
the
symbols
D:
and
awaits input.
When
the
quad
quote
[!]
(a
quad
overstruck with a
quote)
is
used,
input
from
the
keyboard
is
treated
as
character
data.
The
input
begins
at
the
left margin
of
the
display;
quotes
do
not
need
to
be
entered
to
define
the
data
as
character
data.
When
[!]
input
is
requested,
the
symbols
D:
do
not
appear
as
they
did with a D
input
request. The
input
is
entered
after
the
flashing cursor appears
on
the
screen.
For
example:
CAN'T
x
CAN'T
Xt-I~
'CAN'
'T'
X
'CAN'
'T'
Anything
you
enter
in
response
to
a quad
quote
request
for
input
is
considered
character
input. Therefore, if
you
enter
a system
command
or
a branch
arrow
(~)
to
terminate
the
function,
the
entry
is
treated
as
character
data
for
the
function
and
the
system
command
or
branch will
not
be
executed.
This can be
a problem if
you
are trying
to
escape
from
a
quad
quote
input
request. There-
fore, APL provides an escape for this situation. To escape
from
a quad
quote
input
request,
enter
the
lDsymbol by holding.the
CMD
key and pressing
the
o key. The
function
is
interrupted and
the
function
name and
the
line num·
ber being
executed
are displayed. You can
then
modify
the
function
or
termi-
nate it by entering
the
right arrow
~.
145

Table of Contents

Other manuals for IBM 5100

Related product manuals