Re: problem with library function



On Jan 31, 10:54 am, "nakisa" <nakisa.noor...@xxxxxxxxx> wrote:
i use fortran library for solving system of nonlinear equations . (i
use NEQNF) .
i want this program computes some numbers and subsitute them in
nonlinear equations then solve system .
my problem is equations of system must be defined in subroutines ,and
in subroutines it can't be understand the values that computed in main
program !
when fortran starts debuging subroutine ,it thinks these variables
are not defined before and take their values zero !

Were the variables previously defined? Are the variables arguments of
the subroutine,
MODULE variables, or part of a COMMON block? Can you post a small
example
demonstrating the problem?

.