Hello world/Line printer: Difference between revisions

m
→‎{{header|REXX}}: change the format. -- ~~~~
No edit summary
m (→‎{{header|REXX}}: change the format. -- ~~~~)
Line 259:
 
=={{header|REXX}}==
There is no direct way for REXX programs to write to the printer, but a shell command could be used.
<br><br>In DOS (or under Windows):
<br>
<lang rexx>str='Hello World'
a shell command could be used.
'@ECHO' str ">PRN"</lang>
<br><br>
In DOS (or under Windows):
<lang rexx>
str='Hello World'
'@ECHO' str ">PRN"
</lang>
 
=={{header|RPG}}==