File: autoarray.fcl

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 (41 lines) | stat: -rw-r--r-- 785 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

FTNCHEK Version 3.1 May 2001

File autoarray.f:

      1       program main
      2       call test(100)
      3       end

Module MAIN: prog

External subprograms referenced:

      TEST: subr   



      4       subroutine test(n)
      5       integer n
      6 C the following local array cannot have variable bounds.
      7       integer auto(n)
                           ^
Warning near line 7 col 20: Nonstandard syntax: local array cannot have
 variable size
      8       auto(1) = 5
      9       auto(2) = auto(1)*2
     10       end

Module TEST: subr

Variables:
 
      Name Type Dims     Name Type Dims     Name Type Dims     Name Type Dims
      AUTO intg  1          N intg   




 0 syntax errors detected in file autoarray.f
 1 warning issued in file autoarray.f