Probably Thomas Schneider typed into a real computer:
I'm answering with respect to the ANSI standard, which probably governs
how Classic and Object Rexx both behave with regard to keywords.
NetRexx has a different rule, which I believe states that any word
will behave as a keyword if possible unless you assign a value to
it, and from then on it will always behave as a variable.
As far as I know, it is a RETURN instruction, not a call to a function.
I believe this is invalid, since in classic Rexx "TO" is reserved within
the repetition-expressions of a DO instruction (while in NetRexx it's
either always a variable or always a keyword and can't act as both
within the same instruction).
Yes it should. (The error will probably be noted on the second line of
this example, since the following is valid syntax:
if abc='def' do
"THEN" is reserved within the expression of an IF instruction, so this
is invalid again. However, if you renamed "then" to another name, the
rest of this should be valid.
---- Ian Collier : XXXX@XXXXX.COM : WWW page (including REXX section):
New to this group? Answers to frequently-asked questions can be had from