Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Cobol/verschiedene-Autoren/Goguen-Malcolm/   (verschiedene Autoren Version 0.7©)  Datei vom 4.1.2008 mit Größe 512 B image not shown  

SSL swap.cob   Sprache: Cobol

 

       identification division.
       program-id. swap.
      * from Goguen/Malcolm "Algebraic Semantics..."
      * OBJ example on p 134
       author. Jens.
       date-written. 28.11.2006.
       date-compiled.
       data division.
       working-storage section.
       linkage section.
         77 x pic 9(4).
         77 y pic 9(4).
       procedure division using x y.
      * special swap action
         compute x = x + y
         compute y = x - y
         compute x = x - y
        end-program swap.

Messung
CHZG
9310010097

¤ Dauer der Verarbeitung: 0.23 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland