File: strings.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 (21 lines) | stat: -rw-r--r-- 963 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
C  To see if handling of strings that are split across lines is done right
C23456789012345678901234567890123456789012345678901234567890123456789012
      character*255 S,T,U,V
      S = '12345678901234567890123456789012345678901234567890123456789012
     $ 12345678901234567890123456789012345678901234567890123456789012'
      write(*,*) S
      T = '12345678901234567890123456789012345678901234567890123456789012
     $
     $x12345678901234567890123456789012345678901234567890123456789012'
      write(*,*) T
      U = '123456789012345678901234567890123456789012345678901234567890'
     $'12345678901234567890123456789012345678901234567890123456789012'
      write(*,*) U
      U = '123456789012345678901234567890123456789012345678901234567890'
     $
     $'12345678901234567890123456789012345678901234567890123456789012'
      write(*,*) U
      V = '123456789012345678901234567890123456789012345678901234567890'
     $// 'hello'
      write(*,*) V
      end