File: dims.f

package info (click to toggle)
ftnchek 3.1.2-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,436 kB
  • ctags: 5,393
  • sloc: ansic: 24,609; fortran: 5,565; yacc: 3,682; sh: 2,518; makefile: 772; lisp: 264; f90: 94; perl: 76
file content (14 lines) | stat: -rw-r--r-- 442 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
      subroutine foo(d)
      parameter (n=1,m=2,k=3)
      character *17 xx
      integer a(1:m*n,-n+2), b(n*(m+k)*2,k+1)
      integer d(*,*)
      common /xx/ xx(101)
      character*1 str, str2*(n), str3*(*), str4*(m+n*k)
      external str
      dimension str2(k*m)
      character *10 c(len('won''t'))
      a(n,1) = a(1,m)
      c(2)(a(ichar('A'//'hello'), ichar(char(40))+3)
     $     :ichar(str("won""t",40) (1:1))) = 'x'
      end