14 IF (j.GE.123)
GO TO 19
15 chv(jj:jj) = char(j-32)
27 chv(jj:jj) = char(j+32)
33 SUBROUTINE uoptc (DATA,POSS,IOPTV)
35 CHARACTER *(*) DATA, POSS
39 IF (index(
DATA,poss(j:j)).NE.0) ioptv(j)= 1
49 IF (chv(jj:jj).NE.
' ')
GO TO 99
58 dimension ms(99), mt(99), nchp(9)
61 data iblan1/538976288/
65 11 nwt = ishft(nch,-2)
68 IF (nwt.EQ.0)
GO TO 31
71 + iand(ms(js+1),mask1),
72 + ishft(iand(ms(js+2),mask1), 8)),
73 + ishft(iand(ms(js+3),mask1),16)),
74 + ishft(ms(js+4), 24) )
76 IF (ntrail.EQ.0)
RETURN
80 mwd = ior(ishft(mwd,8), iand(ms(js),mask1))
84 91 print*,
'>>> Abnormal end'
91 parameter(nadupw=4, ladupw=2)
93 locf = ishft(j, -ladupw)
98 parameter(nadupw=4, ladupw=2)
100 locfr = ishft(j, -ladupw)
122 jbit = iand(ishft(izw, -(izp-1)), 1)
130 jbyt = ishft(ishft(izw,nbitpw+1-izp-nzb), -(nbitpw-nzb))
140 10
IF (nabove-nbelow .LE. 1)
GO TO 200
141 middle = (nabove+nbelow) / 2
142 IF (
object - array(middle)) 100, 180, 140
174 SUBROUTINE sbyt (IT,IZW,IZP,NZB)
177 parameter(iall11 = -1)
178 msk = ishft(iall11, -(nbitpw-nzb))
179 izw = ior( iand(izw, not(ishft(msk,izp-1)))
180 +, ishft(iand(it,msk),izp-1))
186 izw = ior(izw, ishft(1,izp-1))
192 izw = iand(izw, not(ishft(1,izp
202 CHARACTER CHWORD*(NCHAPW)
203 CHARACTER BLANK *(NCHAPW)
204 parameter(blank =
' ')
206 equivalence(iword,chword)
208 11
IF (npw.LE.0)
GO TO 91
209 IF (npw.EQ.1)
GO TO 21
210 IF (npw.LT.nchapw)
GO TO 31
213 ntrail = nch - nwt*nchapw
215 chword = ms(js+1:js+nchapw)
218 IF (ntrail.EQ.0)
RETURN
219 chword = ms(js+1:js+ntrail)
224 chword(1:1) = ms(js:js)
231 ntrail = nch - nwt*npw
233 chword(1:npw) = ms(js+1:js+npw)
236 IF (ntrail.EQ.0)
RETURN
237 chword = ms(js+1:js+ntrail)
240 91 print*,
'>>> Abnormal end'
249 CHARACTER CHWORD*(NCHAPW)
251 equivalence(iword,chword)
253 11
IF (npw.LE.0)
GO TO 91
254 IF (npw.EQ.1)
GO TO 21
255 IF (npw.LT.nchapw)
GO TO 31
258 ntrail = nch - nws*nchapw
261 mt(jt+1:jt+nchapw) = chword
263 IF (ntrail.EQ.0)
RETURN
265 mt(jt+1:jt+ntrail) = chword(1:ntrail)
269 mt(js:js) = chword(1:1)
274 ntrail = nch - nws*npw
277 mt(jt+1:jt+npw) = chword(1:npw)
279 IF (ntrail.EQ.0)
RETURN
281 mt(jt+1:jt+ntrail) = chword(1:ntrail)
283 91 print *,
' UHTOC: wrong args.'
293 CHARACTER CHWORD*(NCHAPW)
294 CHARACTER BLANK *(NCHAPW)
295 parameter(blank =
' ')
297 equivalence(iword,chword)
301 chword(1:1) = ms(js:js)
305 91 print*,
'>>> Abnormal end'
311 dimension ia(*),ib(*)
325 SUBROUTINE upkbyt (MBV,JTHP,MIV,NINTP,NBITS)
326 dimension miv(99), mbv(99), jthp(9), nintp(9), nbits(2)
329 parameter(iall11 = -1)
333 IF (nint.LE.0)
RETURN
335 IF (nzb.GT.0)
GO TO 11
341 mska = ishft(iall11, -(nbitpw-nzb))
344 IF (jth.LT.2)
GO TO 21
345 jbv = (jth-1)/npwd + 1
346 jpos = jth - (jbv-1)*npwd - 1
347 IF (jpos.EQ.0)
GO TO 21
350 izw = ishft(mbv(jbv), -nr)
354 22 jive = min(nint,jive)
356 miv(jiv) = iand(mska,izw)
357 IF (jiv.EQ.jive)
GO TO 27
358 izw = ishft(izw, -nzb)
360 27
IF (jiv.EQ.nint)
RETURN
367 SUBROUTINE cfopen (LUNDES, MEDIUM, NWREC, MODE, NBUF, NAME, ISTAT)
368 dimension lundes(9), istat(9)
369 CHARACTER MODE*(*), NAME*(*)
376 IF (index(chuse,
'a').NE.0) nvmode(1) = 2
377 IF (index(chuse,
'w').NE.0)
THEN
378 IF (nvmode(1).NE.0)
GO TO 91
381 IF (index(chuse,
'r').NE.0)
THEN
382 IF (nvmode(1).NE.0)
GO TO 91
384 IF (index(chuse,
'+').NE.0) nvmode(2) = 1
385 IF (index(chuse,
'l').NE.0) nvmode(3) = 1
386 CALL cfopei (lundes,medium,nwrec,nvmode,nbuf,name,istat,lgn
398 cfstat = cfstati(name, info, lgn)
415 41
IF (n.LE.0)
RETURN
subroutine sbyt(it, izw, izp, nzb)
subroutine ucopyi(ia, ib, n)
subroutine upkbyt(mbv, jthp, miv, nintp, nbits)
subroutine ubunch(ms, mt, nchp)
subroutine uoptc(data, poss, ioptv)
subroutine uctoh(ms, mt, npw, nch)
function jbyt(izw, izp, nzb)
function locati(array, length, object)
subroutine uctoh1(ms, mt, nch)
integer function cfstat(name, info)
subroutine cfopen(lundes, medium, nwrec, mode, nbuf, name, istat)
subroutine sbit1(izw, izp)
subroutine vfill(a, n, stuff)
subroutine ucopy(a, b, n)
subroutine ucopy2(a, b, n)
subroutine sbit0(izw, izp)
subroutine uhtoc(ms, npw, mt, nch)