Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Difference between EXTERNAL and INTERFACE
To NG:

I am quite confuse when to use EXTERNAL and INTERFACE when it comes to
calling a F77 function/subroutine. Let's say there's a F77 function called
F77_function in  F77_SUB.F,  and I want to call the function from a program
written in F90. Do I use EXTERNAL or INTERFACE to describe the F77 function?


Thanks.



Report this thread to moderator Post Follow-up to this message
Old Post
Jason
10-17-04 08:56 PM


Re: Difference between EXTERNAL and INTERFACE
"Jason" <JC20032344@hotmail.com> wrote in message
news:Voxcd.5979$232.3762@trnddc09...
> To NG:
>
>     I am quite confuse when to use EXTERNAL and INTERFACE when it comes to
> calling a F77 function/subroutine. Let's say there's a F77 function called
> F77_function in  F77_SUB.F,  and I want to call the function from a
program
> written in F90. Do I use EXTERNAL or INTERFACE to describe the F77
function?
>
Either, but not both. An interface block is better as it permits all sorts
of checks to be made, but external suffices (see also "Fortran 90/95
Explained", Section 5.11).

Hope that helps,

Mike Metcalf



Report this thread to moderator Post Follow-up to this message
Old Post
Michael Metcalf
10-18-04 01:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Fortran archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:55 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.