Todd,

Todd,

You're comparing zero in exponential form to zero in exponential form.
You're not the first to get tripped up by this, believe me. Use == (exactly
equal) instead:

 if (offset1 == offset2) then say “MATCH!” ;

Mark L. Wheeler
IT Infrastructure, 3M Center B224-4N-20, St Paul MN 55144
Tel:  (651) 733-4355, Fax:  (651) 736-7689
mlwheeler at mmm.com
--
"I have this theory that if one person can go out of their way to show
compassion then it will start a chain reaction of the same. People will
never know how far a little kindness can go." Rachel Joy Scott



                                                                           
             Todd Burch                                                    
             <[EMAIL PROTECTED]                                             
             USA.COM>                                                   To 
             Sent by: IBM              [email protected]                
             Mainframe                                                  cc 
             Discussion List                                               
             <[EMAIL PROTECTED]                                     Subject 
             .EDU>                     Rexx bug?                           
                                                                           
                                                                           
             03/10/2008 12:11                                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
               IBM Mainframe                                               
              Discussion List                                              
             <[EMAIL PROTECTED]                                             
                   .EDU>                                                   
                                                                           
                                                                           




Running z/OS 1.9.



Running this, I get a match.



/* rexx */



offset1 = “0000E0” ;

offset2 = “0000E8” ;

if (offset1 = offset2) then say “MATCH!” ;

else say “NO MATCH!”



What does it return on your system?



Thanks, Todd








No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.518 / Virus Database: 269.21.7/1322 - Release Date: 3/9/2008
12:17 PM


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

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