On Thu, 18 Oct 2012 18:03:46 -0400, John Gilmore wrote: > >arg = upper(argument) ; >match = (arg = 'NO') ; > >The same thing can be done in C, using all but identical assignment >statements (although the variable declarations for them must be > But why bother when you can use the standard library function, strcasecmp()?
>different). Moreover, since Paul Gilmartin raised the issue, I will >add that this is a fortiori possible in assembly language too. > >It is of course true that > >match = (arg = 'no') | (arg = 'nO') | (arg = 'No') > | arg = ('NO') ; > >is longer than it would be if the term (arg = 'nO') were omitted, but >I would dispense with the services of a programmer who wrote such >things. > My assertion was (and is) that the HLASM macro-language UPPER and LOWER BIFs avail little to this end. >I am delighted that Charles found a solution to his problem. > Not only a problem but also a perplexity over elliptical documentation. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN