I have
subroutine foo (a)
      integer a
      print*, "Hello from Fortran!"
      print*, "a=",a
      a=2
      end

and from python I want to do
>>> a=1
>>> foo(a)

and I want a's value to now be 2.
How do I do this?

Mathew
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to