identificationdivision. program-id. substitute. * aus Wirth, systematisches Programmieren p. 110 author. "JD". date-written. 11.9.2005. date-compiled. datadivision. working-storagesection. 78 bd pic9(4) value100. 77 i pic9(4). 77 j pic9(4). 77 k pic9(4). 77 m pic9(4). 77 n pic9(4). 77 d pic9(4). 77 P pic9(4). 77 q. 88 true-v value1. 88 false-v value0. linkagesection. 77 x pic9(4)V9(4) occurs bd. 77 z pic9(4)V9(4) occurs bd. 77 r pic9(4). 77 temp1 pic9(4). proceduredivisionusing z r. * substitutes x in row z move i to p performuntil q or (i=p) move1to j performuntilnot q or (j>k) compute temp1 = i + j - 1 if x(j) = z(temp1) thenset true-v totrue elseset false-v totrueend-if add1to j end-perform add1to i if i > n thenmove1to i end-if end-perform if q then subtract k from m giving d move i to p if d < 0then add p k giving j performuntil j > n compute temp1 = j + d move z(j) to z(temp1) add1to j end-perform else if d > 0then move n to j performuntil j < p + k compute temp1 = j + d move z(j) to z(temp1) add1to j end-perform add d to n move1to j performuntil j > m move z(j) to z(p) add1to p add1to j end-perform end-if. end-program substitute.
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.0Bemerkung:
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.