SAVE of COMMON variables
- From: Brian Elmegaard <brian@xxxxxxxxxxxxxxxx>
- Date: Wed, 05 Apr 2006 12:07:36 +0200
Hi
I compiled a fortran program into a dll with gcc.
In the program several variables are stored in COMMON's. I would like
to have these SAVE'd between calls to the dll, but gcc will not let me
compile something like:
program comsave
integer a
common /b/ a
save a
a = 10
end
Is it not allowed/possible?
tia,
--
Brian (remove the sport for mail)
http://www.et.web.mek.dtu.dk/Staff/be/be.html
http://www.rugbyklubben-speed.dk
.
- Follow-Ups:
- Re: SAVE of COMMON variables
- From: feenberg
- Re: SAVE of COMMON variables
- From: Jan Vorbrüggen
- Re: SAVE of COMMON variables
- Prev by Date: Re: Fortran has little support for object-oriented
- Next by Date: Re: SAVE of COMMON variables
- Previous by thread: interactive Fortran program for 2D and 3D
- Next by thread: Re: SAVE of COMMON variables
- Index(es):
Relevant Pages
|