Suppression messages de debug
This commit is contained in:
parent
d9f9eddca6
commit
ed7231d96a
1 changed files with 9 additions and 20 deletions
|
@ -32,7 +32,7 @@
|
||||||
BY CONTENT MY-STR,
|
BY CONTENT MY-STR,
|
||||||
BY REFERENCE NB-NICE-PREM
|
BY REFERENCE NB-NICE-PREM
|
||||||
BY REFERENCE NB-NICE-DEUX
|
BY REFERENCE NB-NICE-DEUX
|
||||||
* On passe par référence NB-NICE pour l’incrémenter
|
* On passe par référence NB-NICE pour les incrémenter
|
||||||
END-CALL
|
END-CALL
|
||||||
END-READ
|
END-READ
|
||||||
END-PERFORM.
|
END-PERFORM.
|
||||||
|
@ -112,34 +112,24 @@
|
||||||
parse.
|
parse.
|
||||||
MOVE 0 TO NB-VOY.
|
MOVE 0 TO NB-VOY.
|
||||||
MOVE 'N' TO DOUBLE.
|
MOVE 'N' TO DOUBLE.
|
||||||
d DISPLAY STR.
|
|
||||||
d DISPLAY "=================".
|
|
||||||
PERFORM VARYING I FROM 1 BY 1 UNTIL END-P
|
PERFORM VARYING I FROM 1 BY 1 UNTIL END-P
|
||||||
MOVE STR(I:1) TO CHAR
|
MOVE STR(I:1) TO CHAR
|
||||||
d DISPLAY "ACT. CHAR : " CHAR
|
IF VOY THEN
|
||||||
d DISPLAY "ACT. PRED : " PRED
|
ADD 1 TO NB-VOY END-ADD
|
||||||
d DISPLAY "I : " I
|
|
||||||
IF VOY
|
|
||||||
THEN ADD 1 TO NB-VOY END-ADD
|
|
||||||
END-IF
|
END-IF
|
||||||
IF I >= 2
|
IF I >= 2
|
||||||
THEN
|
THEN
|
||||||
STRING PRED CHAR INTO TMP END-STRING
|
STRING PRED CHAR INTO TMP END-STRING
|
||||||
d DISPLAY "TMP STR : " TMP
|
IF BAD THEN
|
||||||
IF BAD
|
|
||||||
THEN
|
|
||||||
EXIT PERFORM
|
EXIT PERFORM
|
||||||
END-IF
|
END-IF
|
||||||
IF PRED = CHAR
|
IF PRED = CHAR THEN
|
||||||
THEN
|
|
||||||
MOVE 'Y' TO DOUBLE
|
MOVE 'Y' TO DOUBLE
|
||||||
END-IF
|
END-IF
|
||||||
d DISPLAY "DOUBLE : " DOUBLE
|
|
||||||
END-IF
|
END-IF
|
||||||
MOVE CHAR TO PRED
|
MOVE CHAR TO PRED
|
||||||
END-PERFORM.
|
END-PERFORM.
|
||||||
IF NOT BAD AND NB-VOY >= 3 AND DOUBLE = 'Y'
|
IF NOT BAD AND NB-VOY >= 3 AND DOUBLE = 'Y' THEN
|
||||||
THEN
|
|
||||||
ADD 1 TO NB END-ADD
|
ADD 1 TO NB END-ADD
|
||||||
END-IF.
|
END-IF.
|
||||||
EXIT PROGRAM.
|
EXIT PROGRAM.
|
||||||
|
@ -215,7 +205,6 @@
|
||||||
ADD 1 TO NB END-ADD
|
ADD 1 TO NB END-ADD
|
||||||
END-IF.
|
END-IF.
|
||||||
EXIT PROGRAM.
|
EXIT PROGRAM.
|
||||||
|
|
||||||
END PROGRAM parse-deux.
|
END PROGRAM parse-deux.
|
||||||
|
|
||||||
END PROGRAM hub.
|
END PROGRAM hub.
|
||||||
|
|
Loading…
Reference in a new issue