Can Fortran Use This C Variable Directly Via "external" Decl?



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.

.



Relevant Pages