home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / ada / 2469 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  908 b 

  1. Path: sparky!uunet!mcsun!corton!dmi.ens.fr!rhea!vincens
  2. From: vincens@ens.fr (Pierre VINCENS)
  3. Newsgroups: comp.lang.ada
  4. Subject: Re: Alsys compiler question
  5. Message-ID: <1992Aug28.072536.8318@ens.fr>
  6. Date: 28 Aug 92 07:25:36 GMT
  7. References: <6903@stan.xx.swin.oz.au>
  8. Sender: news@ens.fr (USENET News System)
  9. Reply-To: vincens@ens.fr
  10. Organization: Groupe de BioInformatique de l'Ecole Normale Superieure, Paris, France
  11. Lines: 18
  12. Nntp-Posting-Host: rhea.ens.fr
  13.  
  14. Hello,
  15.  
  16. I use Alsys compiler on Sun Workstation. The pragma EXPORT allows an 
  17. OBJECT defined in ada to be visible to external programs written in
  18. the specified language. The pragma CALL_IN is used to indicate that an ada
  19. SUBPROGRAM can be called from another language. 
  20.  
  21. Replace the line:
  22.   pragma EXPORT (C, HI_THERE);
  23. by
  24.   pragma CALL_IN (C, HI_THERE);
  25.  
  26. Best regards,
  27.  
  28. Pierre Vincens
  29.  
  30. E-mail: vincens@wotan.ens.fr
  31.         vincens@FRULM63.bitnet
  32.