[Scilab-Dev] use basout in fortran program
Allan CORNET
allan.cornet at scilab.org
Wed May 6 08:27:06 CEST 2009
Hi,
How do you build your fortran code ?
With scilab ilib_for_link function or a separate makefile ?
Windows or linux ?
Fortran code built with intel fortran or f2c ?
iop_ symbol is exported.
If you want to use iop from fortran, you need to include "stack.h"
Allan
-----Message d'origine-----
De : ycollet at freesurf.fr [mailto:ycollet at freesurf.fr]
Envoyé : mardi 5 mai 2009 16:21
À : dev at lists.scilab.org
Objet : Re: [Scilab-Dev] use basout in fortran program
I included a small test in my fortran code:
WRITE(6,666) IO
WRITE(6,666) WTE
666 FORMAT (5X,'PARAM =',I5)
And, when I launch the good scilab command, it hangs at WRITE(6,666) WTE
The WTE variable is defined in the stack.h iop common.
It seems that I can't access wte ?
This is certainly a link problem. How do I link to the iop.wte common
variable ?
YC
More information about the dev
mailing list