1 |
C------------------------------------------------ |
C------------------------------------------------ |
2 |
FUNCTION RDTOFCAL(calname) |
FUNCTION RDTOFCAL(calname,cnlen) |
3 |
C------------------------------------------------ |
C------------------------------------------------ |
4 |
|
|
5 |
include 'input_tof.txt' |
include 'input_tof.txt' |
16 |
character*250 calname |
character*250 calname |
17 |
character*250 calname1 |
character*250 calname1 |
18 |
c character ch |
c character ch |
19 |
character*2 ch2 |
c character*2 ch2 |
20 |
|
integer cnlen |
21 |
c------------------------------------------------------------------ |
c------------------------------------------------------------------ |
22 |
|
|
23 |
COMMON/QUEST/IQUEST(100) |
COMMON/QUEST/IQUEST(100) |
49 |
c100 continue |
c100 continue |
50 |
c calname1 = calname(1:ii)//'rz' |
c calname1 = calname(1:ii)//'rz' |
51 |
|
|
52 |
do ii=1,250 |
c do ii=1,250 |
53 |
c ch=calname(ii:ii) |
cc ch=calname(ii:ii) |
54 |
ch2=calname(ii:ii+1) |
c ch2=calname(ii:ii+1) |
55 |
c write(*,*) ii,ch |
cc write(*,*) ii,ch |
56 |
c if (ch.eq.'.') goto 100 |
cc if (ch.eq.'.') goto 100 |
57 |
if (ch2.eq.'rz') goto 100 |
c if (ch2.eq.'rz') goto 100 |
58 |
enddo |
c enddo |
59 |
100 continue |
c100 continue |
60 |
c calname1 = calname(1:ii)//'rz' |
c calname1 = calname(1:ii)//'rz' |
61 |
calname1 = calname(1:ii+1) |
c calname1 = calname(1:ii+1) |
62 |
|
|
63 |
|
calname1 = calname(1:cnlen) |
64 |
|
|
65 |
|
|
66 |
|
|