trbac1
C TRBAC1 SOURCE CB215821 24/07/17 21:15:19 11961 IMPLICIT INTEGER(I-N) -INC PPARAM -INC CCOPTIO -INC SMBLOC -INC CCNOYAU -INC CCASSIS SEGMENT MTTE CHARACTER*(LOCHAI) PHRA CHARACTER*72 TRA CHARACTER*(LONOM) NOM INTEGER INDI ENDSEGMENT SEGACT MTTE*MOD INDI = 1 PHRA = ' ' if(nbesc.ne.0) segact ipiloc DO 103 I=1,NBNOM IP= INOOB1(ITANO1(I)) IDEBCH = IPCHAR(IP) IFINCH= IPCHAR( IP+1)-1 NOM=ICHARA(IDEBCH:IFINCH) IF(NOM(1:1).NE.'#') THEN IK=IFINCH-IDEBCH+1 PHRA(INDI:INDI+IK-1)=NOM(1:IK) INDI=INDI+IK IF(ITANOM(I).NE.' ') THEN PHRA(INDI:INDI)='*' INDI=INDI+1 PHRA(INDI:INDI+7)=ITANOM(I) INDI=INDI+8 ELSE INDI=INDI+1 ENDIF ENDIF 103 CONTINUE IF(INDI.NE.1) THEN PHRA (INDI:INDI)= '=' INDI=INDI+2 ENDIF DO 104 I=1,IPVINT IPLAC=ITINTE(I) IF(IPLAC.LE.0) GO TO 104 IP= INOOB1(IPLAC) IDEBCH = IPCHAR(IP) IFINCH= IPCHAR(IP+1)-1 NOM=ICHARA(IDEBCH:IFINCH) IPO=IOUEP2(IPLAC) IF(NOM.NE.' ') THEN IK= IFINCH-IDEBCH+1 PHRA(INDI:INDI+IK-1)=NOM (1:IK) INDI=INDI+IK+1 ELSE IF(INOOB2(IPLAC).EQ.'ENTIER ') THEN TRA(1:10)=' ' WRITE(TRA,FMT='(I10)') IPO IK=1 DO 1034 K=1,10 IF(TRA(K:K).NE.' ') THEN IK=K GO TO 1035 ENDIF 1034 CONTINUE 1035 CONTINUE PHRA(INDI:INDI+10-IK)=TRA(IK:10) INDI=INDI + 12 - IK ELSEIF(INOOB2(IPLAC).EQ.'FLOTTANT')THEN WRITE(TRA,FMT='(G15.8)')XIFLOT(IPO) DO 1036 K=1,15 IF(TRA(K:K).NE.' ') THEN IK=K GO TO 1037 ENDIF 1036 CONTINUE 1037 CONTINUE IKK=IK DO 1038 K=15,IK,-1 IF(TRA(K:K).NE.'0'.AND.TRA(K:K).NE.' ') THEN IKK=K GO TO 1039 ENDIF 1038 CONTINUE 1039 CONTINUE PHRA(INDI:INDI+IKK-IK)=TRA(IK:IKK) INDI=INDI + IKK - IK +2 ELSEIF(INOOB2(IPLAC).EQ.'MOT ')THEN JF=IPCHAR(IPO+1) ID=IPCHAR(IPO) ILO=JF-ID PHRA(INDI+1:INDI+ILO)=ICHARA(ID:JF-1) INDI=INDI + ILO + 2 ENDIF ENDIF 104 CONTINUE if(nbesc.ne.0) SEGDES,IPILOC INDI = INDI -1 RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales