File: substr.f

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 (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