[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::languages

Title:Languages
Notice:Speaking In Tongues
Moderator:TLE::TOKLAS::FELDMAN
Created:Sat Jan 25 1986
Last Modified:Wed May 21 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:394
Total number of notes:2683

292.0. "FOR/C argument passing" by TLSE01::SAAD () Wed Nov 28 1990 07:47

	VMS languages question :

	Is there a document or paper somewhere that summerizes 
    	the major differences between VAX FORTRAN and VAX C in 
        terms of argument data types (strings, arrays,..) 
        and passing mechanisms.
    

	Basically, our customer would like to avoid the potential 
    	pitfalls which he might encounter when calling C routines
        from FORTRAN.
                               
    
    	Thanks
    	William
    
T.RTitleUserPersonal
Name
DateLines
292.1TLE::FELDMANLarix decidua, var. decifyWed Nov 28 1990 13:2519
Look at

	Chapter 13 of the Guide to VAX C (VAX C in the Common Language
		Environment)

	Chapter 6 of the VAX FORTRAN User Manual (VAX FORTRAN in the Common
		Language Environment)

and, for more detail

	Chapter 2 of the Introduction to VMS System Routines (VAX Procedure
		Calling and Condition Handling Standard)

I don't know of any quickie summary.  The programmers or engineers doing the
actual coding really ought to read both of the chapters mentioned above, and
make sure they understand them.  It's not terribly difficult stuff, but it's
also not worth looking for shortcuts.

   Gary
292.2BOMBE::PROBINSONJust causing trouble...Thu Nov 29 1990 19:375
Years ago, there was such a comparison.  It was a quick summary/comparison
of every language available at the time, I believe including features 
and datatypes.  I don't remember what it was called (I never actually 
obtained a copy, although someone in my neighborhood had one) and I'm 
sure that its like has not been produced anytime recently.