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


  • Subject: Re: API parameter lengths
  • From: "Alexei Pytel" <pytel@xxxxxxxxxx>
  • Date: Mon, 9 Jul 2001 10:54:23 -0500


CALL command does not do this.
C PEP (program entry point) procedure does. For every main() in C, compiler
generates a PEP (you may see it if you do DSPMOD on C module). This PEP
procedure among other things will scan for first blank in each parameter
and create null-terminated string for each parameter.
This makes it very difficult to pass non-character parameters to C main().

    Alexei Pytel

"The better is the worst enemy of the good"




                                                                                
                
                    Gene_Gaunt@revie                                            
                
                    wworks.com             To:     MI400@midrange.com           
                
                    Sent by:               cc:                                  
                
                    owner-mi400@midr       Subject:     Re: API parameter 
lengths               
                    ange.com                                                    
                
                                                                                
                
                                                                                
                
                    07/09/2001 08:28                                            
                
                    AM                                                          
                
                    Please respond                                              
                
                    to MI400                                                    
                
                                                                                
                
                                                                                
                




Simon wrote:

"The CALL command is looking at the target program and NULL terminates the
string because that is probably what a C program expects."

Well if the CALL command processing program can do that, then how do you
make an MI program determine if a target program is ILE C?

+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---




+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---

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.