File: autoarray.fcx

package info (click to toggle)
ftnchek 3.3.1-7
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,684 kB
  • sloc: ansic: 21,908; fortran: 5,748; yacc: 4,071; sh: 3,035; makefile: 895; lisp: 322; f90: 118; perl: 76
file content (42 lines) | stat: -rw-r--r-- 810 bytes parent folder | download | duplicates (5)
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
42

FTNCHEK Version 3.3 November 2004

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)
                           ^
"autoarray.f", line 7 col 20: Warning: Nonstandard syntax: local array cannot
 have variable size
      8       auto(1) = 5
      9       auto(2) = auto(1)*2
     10       end
     11 

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