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



I have managed to stump our development staff with this one.

Originally I defined a procedure in my program as follows:
      // Comparison procedure called by QuickSort 
     d CmpVal          pr            10i 0        
     d                                 *   Value  
     d                                 *   Value  

     p CmpVal          b                           
     d CmpVal          pi            10i 0         
     d Elem1@                          *   Value   
     d Elem2@                          *   Value   

The program was working fine until I dedided to move the prototype to a copy 
member.  When I did this the compile failed with "Definition not found for 
symbol 'CmpVal'.".  There are no other compile errors.  

I moved the definition back inside the program but still receive the error.  I 
know I'm probably missing something real simple but I don't see it and several 
others here don't have any ideas either.

Can anyone help with why the compiler doesn't put the prototype and the 
procedure together?

Rick Chevalier
 <<ole0.bmp>> 
Enterprise Solutions
Ext. 57178


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.