On Tue, 4 Jun 2019 17:48:18 +0000, Seymour J Metz wrote:

>IREXCOM has no interface for reporting that a variable has been dropped. All 
>that it can do is to return the variables that are still known. The statement  
>   foo. = 'Blanket' does not create any variable other than foo., even though 
>requesting the value of foo.baz will give you Blanket.
> 
IOW, IRXEXCOM can not report fully the state of all compound symbols
having a given stem.  I consider this notionally a deficiency in a facility
which is otherwise useful for enumeration of an associative array.  Yes,
I know it obeys its own documentation (WAD).  The design is incomplete.

I suspect STEMPUSH and STEMPULL employ IRXEXCOM, so the pair can
not exactly copy one stem to another.

>foo. = 'Blanket' does not create any variable other than foo. ...
>
I'll disagree with that.  From the Ref.:
    Further, when a stem is used as the target of an assignment, all possible
    compound variables whose names begin with that stem receive the new value, 
...
So, foo. = "Blanket" does create foo.baz assigning it the value 'Blanket'.

Note that the Ref. avoids mentioning "default" which is commonly and
incorrectly used in informal discourse.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to