On Sat, 6 Nov 2010 16:58:47 -0500, John McKown wrote:
>
>I think of a REXX stem variable the same way that I do an Perl hash. Or
>more like a value associated with a "key" where the key is an arbitrary
>value. And a stem.var1.var2 is like a hash of a hash in Perl.
>
If I understand what you mean by "hash of a hash", I believe not.
As I posted yesterday:

Beware the pitfall.  If:

    W = 'a.b'
    X = 'c'
    Y = 'a'
    Z = 'b.c'

then Stem.W.X and Stem.Y.Z refer to the same member of the
compound, regardless that none of the subscripts are equal.

Multiple subscripts are flattened, in a possibly degenerate manner.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to