On Mon, 22 Jun 2015 07:38:39 -0400, Peter Relson wrote:

>I was curious why you used WAIT with ECBLIST when there was only one ECB.
>
I'm an advocate for uniform and continuous treatment of boundary cases.  If I
were coding an interface to WAIT, I'd prefer not to need to treat "1" as a
special case.  In fact, I'll even argue that for "event nmbr"=0 WAIT should
immediately and normally exit.

From the Macs Ref.:
       event nmbr,      event nmbr: Symbol, decimal digit, or register (0) or 
(2) - (12).

Hmmm... does this imply that for the second form, "event nmbr" is limited to 9?
(But it does not prohibit 0?

In real life, not hypothetical, I was considerably irritated when I coded an 
interface
to BPXWDYN(CONCAT ... ) and discovered that I must treat "1" as a special case.

-- gil

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

Reply via email to