>Only if REXX interpreted the two character strings as numerical values in 
>exponent notation (0**0 and 0**8) and performed a numerical comparison,
would a 'match' - result be expected. But why? That's not logical. Todd coded 
two quoted character strings, didn't he?

I had this discussion a few years ago with REXX developers.
The simple answer is that the designed the interpreter that way.
Whenever possible numeric strings are interpreted as numbers first, unless you 
perform unnatural acts of coding, regardless of whether you quote it or not.
"OE8" is taken as 0 * 10 ** 8 which is zero.
I ran into the problem comparing "0" to "0000".

They are not going to change after 30 years because that would break too many 
things.

That may not be logical, but that's how it works.

-
Too busy driving to stop for gas!

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