Erase is a REXX keyword? I doubt. The double quotation mark in ""Erase are short for 'address command' (at least under VM/CMS, and I hope this shortcut was copied to ooRexx), thus ""Erase has nothing to do with REXX, it's forwarded to the OS and executed "there", if it's a host command.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Obviously, "Erase" is not a keyword :) The title of rexxref chapter 16 is "Reserved Keywords". And the first page of that chapter contains the three examples I quoted, to show different ways to ensure that a command is not mistaken by a (current or future) keyword. Since these are three ways to ensure that a certain command is not mistaken, i.e., quoting the first word, prepending an empty string, or enclosing the whole expression in parentheses, it would be nice if this certain command was the same, that is, if the example did not change in the middle of the argumentation.
That was the purpose of my report :) My impression is that the example was taken from the CMS era (ERASE fn ft fm), and later changed to DOS/OS/2/Windows (DEL fn.ext), but I may be wrong. Indeed, I just discovered that ERASE also works under Windows. Go figure :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Erase
is a REXX keyword? I doubt. The double quotation mark in""Erase
are short for'address command'
(at least under VM/CMS, and I hope this shortcut was copied to ooRexx), thus""Erase
has nothing to do with REXX, it's forwarded to the OS and executed "there", if it's a host command.Obviously, "Erase" is not a keyword :) The title of rexxref chapter 16 is "Reserved Keywords". And the first page of that chapter contains the three examples I quoted, to show different ways to ensure that a command is not mistaken by a (current or future) keyword. Since these are three ways to ensure that a certain command is not mistaken, i.e., quoting the first word, prepending an empty string, or enclosing the whole expression in parentheses, it would be nice if this certain command was the same, that is, if the example did not change in the middle of the argumentation.
That was the purpose of my report :) My impression is that the example was taken from the CMS era (ERASE fn ft fm), and later changed to DOS/OS/2/Windows (DEL fn.ext), but I may be wrong. Indeed, I just discovered that ERASE also works under Windows. Go figure :)
Confirmed. It is taken from page 154 (section 15) of TRL2, where the primary example is
revealing that this was a VM/CMS example.
Here's a patch.
updates committed with [r12865]
Related
Commit: [r12865]