> Converting the offsets to hex or decimal would have also avoided the
> problem, but it was overhead I didn't want to spend.

Another option is to add some character to the string so REXX doesn't
interpret it as "zero in exponential form". For example:

offset1 = "?" “0000E0” ;
offset2 = "?" “0000E8” ;
if (offset1 = offset2) then say “MATCH!” ;
else say “NO MATCH!”

will now return "NO MATCH".

Mark Wheeler, 3M Company

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