I know that you think you know what circuitous means, but ...
> Why can't a command (ADDRESS) environment be implemented in Rexx?
Because REXX isn't PL/I? Because REXX isn't a scripting language?
> Circuitous.
Not even close; it was a counterexample to your claim about case insensitivity.
> And if BAR || '2' is an assigned variable
The statement in question was
x =value('foo.'bar'2')
It has nothing to do with a variable called BAR2, but rather a variable called
BAR.
> For safety, you need to:
> TAIL = bar'2'
> X = foo.TAIL
ITYM for safety you need to use the value() BIF.
> How about in JCL?
Yes, I use inline data in JCL, but a lot less than when I was dealing with
cards. Most of the inline data that I've seen in the last few decades shouldn't
have been inline.
> Idiosyncratic neologism by analogy to "longjump". Imagine ITERATE X
> or LEAVE X where X is not local but EXPOSEd from an enclosing procedure.
I think I'm going to be sick!
> Circuitous.
Again, no.
> Why not some sort of IMPORT list or EXPOSE list so the names
> could just be used as variables. As in POSIX shell.
Because it's the right answer to the wrong question, and has nothing to do with
the need for GLOBALV. Google for "persistent data".
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of
Paul Gilmartin <[email protected]>
Sent: Sunday, May 13, 2018 4:45 PM
To: [email protected]
Subject: Re: Heretic alert: I really detest TSO REXX (the language)
On Sun, 13 May 2018 19:16:36 +0000, Seymour J Metz <[email protected]> wrote:
>OOREXX solves many of the problems in classic REXX.
>
>I never found writing REXX function packages to be difficult.
>
THere's a lack of closure. Why can't a command (ADDRESS) environment
be implemented in Rexx?
On Sun, 13 May 2018 19:59:59 +0000, Seymour J Metz <[email protected]> wrote:
>All symbols are case insensitive. Talis are case sensivtive:
>
> bar='baz'
> say f.bar
> say foo.BAR
> say FOO.bar
> say FOO.BAR
>
>will give 4 identical outputs, but change that first line to bar='BAZ' and
>you're talking about a different variable.
>
>You can use the value BIF to get expressions in tails: x =value('foo.'bar'2')
>
Circuitous. And if BAR || '2' is an assigned variable you may get undesired
results.
(Try it; I think we had this discusion long ago.) For safety, you need to:
TAIL = bar'2'
X = foo.TAIL
>WTF is a "longITERATE" or a "longLEAVE"?
>
Idiosyncratic neologism by analogy to "longjump". Imagine ITERATE X
or LEAVE X where X is not local but EXPOSEd from an enclosing procedure.
>Admittedly I use here documents in Perl, but I'm not a big fan of them.
>
How about in JCL?
>Why can't IBM implement GLOBALV in TSO?
>
Circuitous. Why not some sort of IMPORT list or EXPOSE list so the names
could just be used as variables. As in POSIX shell.
>If IBM would be up OOREXX some of your other issues would be addressed.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN