1 C -+-+-+-+-+
\ e H A E R E A . F T
\ e -+-+-+-+-+
4 REAL FUNCTION REASAC(SAC)
10 100 DO 110 I=1,8 @ CALIBRATE FOR NEGATIVE ANGLE
11 IF (SAC.GE.I*5.*EICH(1,I)+CALIBR) GOTO 120
14 120 IF (I.EQ.1) GOTO 130 @ BETWEEN 0 AND +40 DEG, CONTINUE SEARCH
15 REASAC=(SAC-CALIBR)/ABS(EICH(1,I))
18 IF (SAC.LE.CALIBR) GOTO 120 @ 0 DEGREES
20 IF (SAC.LE.I*5.*EICH(2,I)+CALIBR) GOTO 150
23 150 REASAC=(SAC-CALIBR)/EICH(2,I)