Go to the source code of this file.
◆ __getbasichistoinfo.f__()
program __getbasichistoinfo.f__ |
( |
| ) |
|
◆ proclatbin()
subroutine proclatbin |
( |
| ) |
|
Definition at line 53 of file getBasicHistoInfo.f.
References kwhistd(), kwhistr(), and nfai.
54 #include "../ZprivateSub.h" 55 #include "../../../Hist/Z90histc.h" 56 #include "../../../Hist/Z90histo.h" 57 #include "../../../Hist/Z90hist1.h" 70 character*256 filename, tempfile
74 integer nbinhisto,
mode, status
75 integer kwhistreadascii
79 call getarg(2, filename, status)
81 call getarg(3, tempfile, status)
83 open(fnot, file=filename,
84 * iostat=status, access=
'sequential',
85 * form=
'unformatted', action=
'read')
86 if(status .ne. 0 )
then 87 write(0,*)
' cannot open file =' 91 open(fnow, file=tempfile,
92 * iostat=status, access=
'sequential',
93 * form=
'formatted', action=
'write')
94 if(status .ne. 0 )
then 95 write(0,*)
' cannot open file =' 103 read( fnot, end=100 ) histid0
104 if( histid0 .ne.
'#hist1' )
then 105 write(0,*)
' histogram is not 1-D: ',histid0
109 write(fnow,
'(a)') h10%c%id
120 write(0,*)
' unexpected EOF ' 126 call getarg(2, filename, status)
128 call getarg(3, tempfile, status)
129 open(fnot, file=filename,
130 * iostat=status, access=
'sequential',
131 * form=
'formatted', action=
'read')
132 if(status .ne. 0 )
then 133 write(0,*)
' cannot open file =' 137 open(fnow, file=tempfile,
138 * iostat=status, access=
'sequential',
139 * form=
'formatted', action=
'write')
140 if(status .ne. 0 )
then 141 write(0,*)
' cannot open file =' 150 nbinhisto=kwhistreadascii(h10, fnot)
151 if(nbinhisto .le. 0 )
then 152 write(0,*)
' ascii read failed' 155 write(fnow,
'(a)') h10%c%id
void kwhistd(struct histogram1 *h)
*Zfirst p fm *Zfirst p Zfirst p code
void kwhistr(struct histogram1 *h, FILE *bfnor, int icon)