Added documenntation to the docs folder and edited the mac bash script in response to tests
This commit is contained in:
21
numpy-1.6.2/numpy/f2py/docs/usersguide/string.f
Normal file
21
numpy-1.6.2/numpy/f2py/docs/usersguide/string.f
Normal file
@@ -0,0 +1,21 @@
|
||||
C FILE: STRING.F
|
||||
SUBROUTINE FOO(A,B,C,D)
|
||||
CHARACTER*5 A, B
|
||||
CHARACTER*(*) C,D
|
||||
Cf2py intent(in) a,c
|
||||
Cf2py intent(inout) b,d
|
||||
PRINT*, "A=",A
|
||||
PRINT*, "B=",B
|
||||
PRINT*, "C=",C
|
||||
PRINT*, "D=",D
|
||||
PRINT*, "CHANGE A,B,C,D"
|
||||
A(1:1) = 'A'
|
||||
B(1:1) = 'B'
|
||||
C(1:1) = 'C'
|
||||
D(1:1) = 'D'
|
||||
PRINT*, "A=",A
|
||||
PRINT*, "B=",B
|
||||
PRINT*, "C=",C
|
||||
PRINT*, "D=",D
|
||||
END
|
||||
C END OF FILE STRING.F
|
||||
Reference in New Issue
Block a user