File: substr.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 (10 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
C This program tickled a bug in gcc under DEC Unix for Alpha
       PROGRAM X
       CHARACTER*80 LINE
       INTEGER LSTART, LEND
       PARAMETER (LSTART=2,LEND=11)
       READ (5,'(A)') LINE(1:9)
       PRINT *,LINE(9:10)
       READ (5,'(A)') LINE(LSTART:LEND)
       PRINT *,LINE(2:LEND)
       END