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

Quelle  boolean.cob   Sprache: Cobol

 

       identification division.
       program-id. bool.
       author. "Patrick Cousot".
       date-written. 10.3.2006.
       date-compiled.
       data division.
       working-storage section.
         01 b pic X.
           88 xfalse value 0.
           88 xtrue  value 1.
         77 x pic 9(4).
         77 y pic 9(4).
       procedure division.
         perform until false
      * ... 
           if (x = 0) set xtrue to true
           else        set xfalse to true
      * ... 
           if not b 
             compute y = 1 / x
           end-if  
         end-perform.
        end-program bool.

Messung
CHZG
869710094

¤ Dauer der Verarbeitung: 0.4 Sekunden  (vorverarbeitet am  2026-11-25) ¤

*© Formatika GbR, Deutschland