Anonymous user
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):▼
<lang rexx>str='Hello World'▼
'@ECHO' str ">PRN"</lang>▼
▲In DOS (or under Windows):
▲str='Hello World'
▲'@ECHO' str ">PRN"
=={{header|RPG}}==
|