[Matrix-SIG] Pyfort: Intent inout must be an array.? / Please make meaningfull exit values.

Berthold Höllmann se6y095@public.uni-hamburg.de
19 Sep 1999 20:38:25 +0200


Hello,

I try to wrap a FORTRAN function which uses one integer parameter as
input as well as as output value, so I tried:

    integer, intent(inout):: n

but pyfort quits with the message:

('Intent inout must be an array.',)

is there a technical reason for this, or is this only not implemented.

Another point I have is, that if an error occurs in pyfort it uses

raise SystemExit

in some places, I would prefer to make it 

raise SystemExit, 1

becaus this would allow make to stop at this point and not trying to
proceed.

Cheers

Berthold
-- 
bhoel@starship.python.net / http://starship.python.net/crew/bhoel/
        It is unlawful to use this email address for unsolicited ads
        (USC Title 47 Sec.227). I will assess a US$500 charge for
        reviewing and deleting each unsolicited ad.