The DISPLAY statement displays a message
on the user’s screen and optionally requests the user to
enter a response to the message.
 >>-DISPLAY--(expression)--+-------------------+--;-------------><
'-REPLY--(char-ref)-'
|
- expression
- Is converted, where necessary, to a character string. This
character string is displayed. It can contain mixed character data.
If the expression has the GRAPHIC attribute, it is not converted.
- REPLY (char-ref)
- Specifies a character reference that receives the user entered
response. The response can contain CHARACTER, GRAPHIC, or mixed
data.
The REPLY option suspends program execution until the user enters
a response.
If GRAPHIC data is entered in the REPLY, it is received as character
data that contains mixed data. Such character data can be converted
to GRAPHIC data using the GRAPHIC BUILTIN.
Example:
display ('Communication link established.');
displays the message
Communication link established.
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)