Can Fortran Use This C Variable Directly Via "external" Decl?
- From: clusardi2k@xxxxxxx
- Date: 28 Sep 2005 11:24:41 -0700
Hello,
I'm pretty sure this is impossible, but someone suggested it to
me.
Can I do this with the f77 compiler:
/** main.C **/
int try_it;
int test_ ()
{
}
CCC test.F CCC
program main
external try_it
try_it = 100
stop
end
Thanks anyway,
Christopher Lusardi
P.S.: I know how to do it via common, structs.
.
- Follow-Ups:
- Re: Can Fortran Use This C Variable Directly Via "external" Decl?
- From: apm
- Re: Can Fortran Use This C Variable Directly Via "external" Decl?
- From: glen herrmannsfeldt
- Re: Can Fortran Use This C Variable Directly Via "external" Decl?
- From: E. Robert Tisdale
- Re: Can Fortran Use This C Variable Directly Via "external" Decl?
- From: Richard Maine
- Re: Can Fortran Use This C Variable Directly Via "external" Decl?
- Prev by Date: Re: Transfer function in initialization expression ?
- Next by Date: Re: Can Fortran Use This C Variable Directly Via "external" Decl?
- Previous by thread: Re: WRITE-- FORMAT question
- Next by thread: Re: Can Fortran Use This C Variable Directly Via "external" Decl?
- Index(es):
Relevant Pages
|
|