help for a WRIPT question

From: lxf <heaven_bird334_at_nyahnyahspammersnyahnyah>
Date: Tue, 5 Jun 2007 23:36:01 +0800

Hi,

   I have had a WRAPIT question before I try to call fortran subroutine in NCL script.
Here is the error information:
-------------------------------------------
% WRAPIT yjj.f

WRAPIT Version: 041207
A syntax error occurred while parsing: :
COMPILING yjj.f
LINKING
END WRAPIT
-------------------------------------------------
==================================================
and the folowing is the "yjj.f" :

C NCLFORTSTART
      subroutine pp(x,y,n)
      integer n,i
      real x(0:n),y(0:n)
C NCLEND
        do 10 i=0,n
           y(i)=3*x(i)
           write(*,*) y(i)
10 continue

      end
-----------------------------------------------------
=====================================================
  
    So, I am puzzled about it . It seems tahat the WRAPIT can't recgnize the arrray such as "x(0:n) ". Do someone know how to fix it?
    And any help is appreaciated.

                                 
------------
Li

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jun 05 2007 - 09:36:01 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 05 2007 - 16:18:21 MDT