File: autoarray.fcl

package info (click to toggle)
ftnchek 2.11.2-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,392 kB
  • ctags: 2,790
  • sloc: ansic: 21,570; fortran: 2,921; yacc: 2,794; sh: 1,623; makefile: 693; lisp: 264; awk: 163
file content (41 lines) | stat: -rw-r--r-- 788 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 2.11 July 1999

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