Table of Contents

Advertisement

INPUT
Purpose
The INPUT instruction is used to enter the data from
the keyboard.
Fora
HtPOTr«m*ber of dl«it.»][}3
]<w«Ubl*H ,<wi*bU>l
Description
(1)
When control was passed to the INPUT command, the
program terminates and the system waits for the data to
be entered from the keyboard. If the RETURN key (<CR»
is pressed after the necessary data has been entered,
the data is stored in the variable and the program
procedes to the next step. Characters which have been
keyed in can be reentered after deleting the characters
by the Back Space bar.
(2) <number of digits> is the number of digits of the
keying data used to check and can be written using
numeric expression. An integer 1 through 255 can be
specified; the fraction part is automatically rounded;
the number is indicated as an error if it exceeds the
limit. When <number of digits> is specified, up to
<number of digits> can be entered, although only the
<CR> key can be entered after that and all the other
input are ignored.
(3) When <message> is specified, the <message> appears
on the screen while waiting for keying. This message,
therefore, notifies the operator what to enter. If this
3-55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents