PROGRAMMED INPUT AND OUTPUT
A number of commands may be employed for controlling I/O of programs. In the index
above, their behavior is described if they are entered from the keyboard. Executed by a
program, however, this will differ in a characteristic way.
With a program running, the display will be updated at certain instances only instead of
after each operation. So where a command in manual mode shows an information until
the next key is pressed, it will show it until the next display update in automatic mode.
Such an update will occur with PROMPT, PSE, STOP, VIEW, VW+, and VIEW only.
This allows for the following operations (please note parameters are omitted here):
Output of messages or other information for a defined time interval using the fol-
lowing code segment
(or simply PSE alone) for plain numeric calculated output or
(or even VW+)
for complex alphanumeric information you composed in alpha.
Asking for numeric input employing
(or VW+)
or simply PROMPT, the latter being identical to VW+ X plus STOP.
Whatever number you key in will be in X when you continue the program by press-
ing . If you want it elsewhere, take care of it.
Prompting for alphanumeric input by
Whatever you key in will be appended to alpha here. Again, the program will con-
tinue when you pressed .
Please see the index for more information about these commands and their parameters.