Re: wrapit: parameter

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Sat, 15 Apr 2006 14:45:09 -0600 (MDT)

> Why can't a fortran code use "parameter"
> (e.g. parameter (num=10)) when wrapped to NCL?
> It is normal f77 language but wrapit never
> seems to permit parameter statements.
> Any way to work around this?

WRAPIT looks only for arguments passed from/to NCL.
fortran parameter statements must appear outside
the subroutine argumeents.

C NCLFORTSTART
       subroutine foo( n,m,x,y,ier)
       real x(m,n)
C NCLEND
       parameter (num=10)
       real dumy(num)

-------
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Apr 15 2006 - 14:45:09 MDT

This archive was generated by hypermail 2.2.0 : Sat Apr 15 2006 - 16:43:47 MDT