On Tue, 11 Mar 2008 15:29:16 -0500 "Patrick O'Keefe" <[EMAIL PROTECTED]>
wrote:

:>On Tue, 11 Mar 2008 15:09:45 +0100, Thomas Berg 
:><[EMAIL PROTECTED]> wrote:

:>>...
:>>> ... REXX sees 2 equal numbers in the first case and 2 different
:>>> strings in the second case.

:>>No.  REXX sees 1 string in each case ("00E0 00E8" and "00F0 00F8").
:>>Try  x = 00E0 + 00E8  and  y = 00F0 + 00F8
:>>You will get an error in the latter case.
:>>...

:>Ok.  I worded that very poorly.  Assuming that the exec is going to 
:>parse its parm string into hex arguments, it had better take care to  
:>handle those args as strings wherever they might be misconstrued
:>as numbers.

If you want them to be treated as hex arguments, use C2X. Otherwise

        000E0 == 00E0

will return not equal.

--
Binyamin Dissen <[EMAIL PROTECTED]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

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