Many C programmers have the habit of, for clarity, enclosing the
returned expression of a RTETURN statement in parentheses, which C
neither requires no objects to.

In PL/I, however, the parentheses are required (because PL/I has no
reserved words, only keywords in context).  Thus

IF ARG = NULL then RETURN SYSNULL ELSE RETURN ARG;

must necessarily become

IF ARG = NULL then RETURN (SYSNULL) ELSE RETURN(ARG) ;

Bernd would, I should guess, respond to this suggestion by noting
that, while it will do the job, its use would require changes in many
PL/I source programs and thast they be recompoiled and retested, his
more testicular approach makes the required change in just one place.


John Gilmore, Ashland, MA 01721 - USA

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

Reply via email to