diff options
author | Rohit Goswami <rog32@hi.is> | 2021-09-19 17:01:16 +0000 |
---|---|---|
committer | Rohit Goswami <rog32@hi.is> | 2021-09-19 17:52:00 +0000 |
commit | 156c005422b020b6fdcd27fc39211708f84f91cb (patch) | |
tree | a07055cb48d9d70f70f388f7e539c3192e4abde3 /doc/source/f2py/code/common.f | |
parent | 80c28d12a4500e12b194d62107c61d37703c0f93 (diff) | |
download | numpy-156c005422b020b6fdcd27fc39211708f84f91cb.tar.gz |
MAINT,DOC: Refactor, syntax highlighting for f2py
Diffstat (limited to 'doc/source/f2py/code/common.f')
-rw-r--r-- | doc/source/f2py/code/common.f | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/source/f2py/code/common.f b/doc/source/f2py/code/common.f new file mode 100644 index 000000000..b098ab20c --- /dev/null +++ b/doc/source/f2py/code/common.f @@ -0,0 +1,13 @@ +C FILE: COMMON.F + SUBROUTINE FOO + INTEGER I,X + REAL A + COMMON /DATA/ I,X(4),A(2,3) + PRINT*, "I=",I + PRINT*, "X=[",X,"]" + PRINT*, "A=[" + PRINT*, "[",A(1,1),",",A(1,2),",",A(1,3),"]" + PRINT*, "[",A(2,1),",",A(2,2),",",A(2,3),"]" + PRINT*, "]" + END +C END OF COMMON.F |