1 INTEGER FUNCTION ignuin(low,high)
37 parameter(maxnum=2147483561)
38 CHARACTER*(*) err1,err2
39 parameter(err1=
'LOW > HIGH in IGNUIN',
40 + err2=
' ( HIGH - LOW ) > 2,147,483,561 in IGNUIN')
46 INTEGER err,ign,maxnow,range,ranp1
56 IF (.NOT. (low.GT.high)) go to 10
62 IF (.NOT. (range.GT.maxnum)) go to 20
67 20
IF (.NOT. (low.EQ.high)) go to 30
76 maxnow = (maxnum/ranp1)*ranp1
78 IF (.NOT. (ign.LE.maxnow)) go to 40
82 80
IF (.NOT. (err.EQ.1)) go to 90
88 100
WRITE (*,*)
' LOW: ',low,
' HIGH: ',high
89 WRITE (*,*)
' Abort on Fatal ERROR'
90 IF (.NOT. (err.EQ.1)) go to 110
91 CALL xstopx(
'LOW > HIGH in IGNUIN')
93 110 CALL xstopx(
' ( HIGH - LOW ) > 2,147,483,561 in IGNUIN')