Anonymous user
Readline interface: Difference between revisions
m
→{{header|REXX}}: added whitespace and highlighting to the REXX section header.
m (→{{header|REXX}}: changed/added comments and whitespace, changed indentations.) |
m (→{{header|REXX}}: added whitespace and highlighting to the REXX section header.) |
||
Line 195:
=={{header|REXX}}==
This REXX programs supports a '''REDO''' (re-do) with very limited editing to keep the program simple.
<br>It has a history (which can be interrogated) and some of the simple (MS) DOS commands.
<br>The HELP (or '''?'''), REDO, error checking, and abbreviations took up most of the program.
<br>"User" commands (subroutines) are identified with a leading period ('''.''') to make it easier to understand what's what.
<lang rexx>/*REXX program implements a simple "readline" shell (modeled after a DOS shell). */
trace off /*suppress echoing of non-zero retCodes*/
Line 331:
<br>The '''LINESIZE.REX''' REXX program is included here ──► [[LINESIZE.REX]].<br>
Some older REXXes don't have a '''changestr''' BIF, so one is included here ──► [[CHANGESTR.REX]].
<br><br>
'''output''' showing a sample session:
|