Dropdown
routine
light_mode
dark_mode
DISPLAY
COBOL |
JAVA |
DISPLAY |
display |
Syntax
display ( <message> )
Parameter(s)
<message>
The data to be displayed.
Example(s)
COBOL |
Java |
DISPLAY "Display some literal text".
|
display("Display some literal text");
|
DISPLAY Textvar.
|
display(noTrunc(locDef.textvar.getValue()));
|
DISPLAY Textvar Textvar2.
|
display(concat(noTrunc(locDef.textvar.getValue()), noTrunc(locDef.textvar2.getValue())));
|
DISPLAY Numericvar.
|
display(noTrunc(locDef.numvar.toAlphaValue()));
|
DISPLAY "Display literal number: " 10.
|
display("Display literal number: " + 10);
|
DISPLAY "Display variable number: " Numericvar.
|
display(concat(noTrunc(locDef.numvar.toAlphaValue()), "Display variable getal: "));
|