On Tue, 28 Jun 2022 17:05:40 -0500, Dale R. Smith wrote:

>On Tue, 28 Jun 2022 14:00:32 -0700, Charles Mills <[email protected]> wrote:
>
>Call Function arg1, arg2...    Sets REXX special variable "result" to whatever 
>value Function returns
> 
(and DROPs "result" if Function returns no value.)

>I sometimes use the "If Function(arg1,arg2...)" , but only if it's very 
>obvious that I'm jut testing the returned value.  
>
When is that not "very obvious?"

>I don't like it for SYSCALLS because it's not obvious that "If SYSCALLS('ON')" 
>is not just testing the returned value, but it also establishes the SYSCALL 
>environment.
>
Side effect.  Do you similarly dislike
    X = value( Y, Z )
???

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to