12.07.2015 Views

LF95 Linux User's Guide - Lahey Computer Systems

LF95 Linux User's Guide - Lahey Computer Systems

LF95 Linux User's Guide - Lahey Computer Systems

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Passing Datastruct {float real;float imaginary;} complex;• When passing data via a file, the file must be closed prior to calling the non-Fortranprocedure.• Fortran common blocks can be accessed as an external or “global” structure from C.For example, the named common block,common /my_common/ a, b, creal a, b, ccan be accessed asextern struct{float a, b, c;} my_common_; /* my_common_ must be all lower-case */“Blank” (unnamed) common is treated the same way; the structure is named _BLNK_instead of my_common_.<strong>Lahey</strong>/Fujitsu <strong>Linux</strong>64 Fortran User’s <strong>Guide</strong> 53

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!