File: t208o.f

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 (60 lines) | stat: -rw-r--r-- 1,526 bytes parent folder | download | duplicates (8)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
*     Parameters for which statement order must be preserved
      real a, b, c
      parameter (c = 1.23)
      parameter (b = 2.0*c)
      parameter (a = (b + c))

*     Parameter with continuation lines
      real d
      parameter (d
     x
     x  =
     x
     x  4.0)

*     Parameter with continuation lines separated by comment lines

      parameter (e
*     comment line
*     another comment line
     x     =
*     yet another comment line
*     still another comment line
     x     5
     x     .
     x     4
     x   
     x     )

*     Parameter with embedded comment
      real t
      parameter (t = ! this is a comment
     x        25.0)

*     Parameters with quoted strings.
      integer u
      parameter (u = b'0110011010011001')

      integer v
      parameter (v = z'ffff')

      integer w
      parameter (w = 'ffff'x)

      integer x
      parameter (x = x'ffff')

      character*(*) y
      parameter (y = 'yes, isn''t this nice')

      character*(*) z
      parameter (z = 'O''Neil''s brother''s pub')

*     Parameters with long text past column 72
      character*(*) s
      parameter (s = '123456789.123456789.123456789.123456789.123456789.SEQ#0001
     x123456789.123456789.123456789.123456789.123456789.123456789.123456SEQ#0002
     x789.123456789.123456789.123456789.123456789.123456789.123456789.12SEQ#0003
     x3456789.123456789.123456789.123456789.123456789.123456789.12345678SEQ#0004
     x9.123456789.123456789.123456789.123456789.123456789.')            SEQ#0005
      end