× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Well,
I've just come across an interesting anomaly I think.  Doing a compare 
source on a new and old source that had two blocks of code inserted. 
Anyway, after I do the compare source I get my new code matched to certain 
lines and the output looks really weird.  Here's what I'm talking about

 
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+---10
 
 
                              MAT=  389 
I -      * Warning Message if rounded hours are 0 and months are > 0       
        INS=    5 0000390
I -     c                   if        (hours(x) = 0) and (months(x) <> 0)  
                                      0000391
I -     c                   except    warning3             0000392
I -     c                   eval      warnings_ctr = warnings_ctr + 1      
                        0000393
I -     c                   endif  0000394
                              MAT=   48 
>>I -     c                   eval      warnings_ctr = warnings_ctr + 1    
                         INS=    5 0000443
>>I -     c                   endif    0000444
I -      * Warning Message if rounded hours are 0 and months are > 0       
                  0000445
I -     c                   if        (hours(x) = 0) and (months(x) <> 0)  
                                      0000446
I -     c                   except    warning3             0000447
                              MAT=  316 

The weird part is that the statements that are bolded are not in correct 
sequence.  It should read:
 
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+---10
 
 
                              MAT=   48 

I -      * Warning Message if rounded hours are 0 and months are > 0       
                  0000445
I -     c                   if        (hours(x) = 0) and (months(x) <> 0)  
                                      0000446
I -     c                   except    warning3             0000447
I -     c                   eval      warnings_ctr = warnings_ctr + 1      
              INS=    5 0000443
I -     c                   endif  000044

Now those two lines of code seem to be matching up with another set of if 
statements.  Any ideas on how the compare source works and why this is 
happening?

Ron Power
Programmer
Information Services
City Of St. John's, NL
P.O. Box 908
St. John's, NL
A1C 5M2
Tel: 709-576-8132
Email: rpower@xxxxxxxxxx
Website: http://www.stjohns.ca/
___________________________________________________________________________
Success is going from failure to failure without a loss of enthusiasm. - 
Sir Winston Churchill


This e-mail communication and accompanying documents is intended only for the 
individual or entity to which it is addressed and may contain information that 
is confidential, privileged or exempt from disclosure under applicable law.  
Any use of this information by individuals or entities other than the intended 
recipient is strictly prohibited.  If you have received this in error, please 
notify the sender and delete all the copies (electronic or otherwise) 
immediately.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.