Blame view

fvn_fnlib/retsrc.f 557 Bytes
38581db0c   daniau   git-svn-id: https...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
        subroutine retsrc(irold)
  c
  c  this routine sets lrecov = irold.
  c
  c  if the current error becomes unrecoverable,
  c  the message is printed and execution stops.
  c
  c  error states -
  c
  c    1 - illegal value of irold.
  c
        external i8save
  c
        if (irold.lt.1 .or. irold.gt.2)
       1  call seterr(31hretsrc - illegal value of irold,31,1,2)
  c
        itemp=i8save(2,irold,.true.)
  c
  c  if the current error is now unrecoverable, print and stop.
  c
        if (irold.eq.1 .or. i8save(1,0,.false.).eq.0) return
  c
          call eprint
          stop
  c
        end