In <[EMAIL PROTECTED]>,
on 01/20/2006
   at 04:48 AM, Rob Scott <[EMAIL PROTECTED]> said:

>Then you have misunderstood the point that I was making.

No I didn't; you simply responcded to something that I hadn't written.
What I actually wrote was

   Note: once you execute "address ISREDIT", there is no need to
   put "ISREDIT" in front of every command.

>There seems to be two schools of thought on using REXX address - the 
>first one uses ONE "ADDRESS ENV" statement followed by a number of 
>quoted buffers that are directed by REXX to that environment :

No. The first one uses on address statement followed by a number of
expressions that are directed by REXX to that environment.

>The other school of thought puts an "ADDRESS ENV" on each statement 

The third one does both. That's what was in the code under discussion.

>Note that there is no initial "Address ISPEXEC" statement in the
>second example

Note that there *is* an initial  *ADDRESS ISREDIT* in the code under
discussion, from Message-ID:
<[EMAIL PROTECTED]>.

>You prefer school (1) - I prefer school (2).

And my position is based on code readability and maintainability, not
efficiency.

>Using "address env buffer" on each statement restores the
>environment after execution to the original setting

No - there is nothing to restore, because it never changes the
environment. Would you claim that there is a PUSH/POP USING in the
anaologous code

         STH   R0,DCBLRECL-IHADCB(R9)

just because the DCBLRECL reference isn't resolved via the current
USING?
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
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