Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  specialization.cob   Sprache: Cobol

 

       Identification Division.
       Program-Id. spec.
       Author. "Hatcliff/Dwyer/Laubach".
      * "aus Principles of Declarative Programming"
      * "Springer-verlag, p. 148"  
       Data Division.
       Linkage Section.
      * variables
         77 x  pic S9(8).
         77 y  pic S9(8).
         77 z  pic S9(8).
       Procedure Division using x y z.
      *  this is a sample from author
       b1.
         if x=y then goto b2 else goto b3
       b2.
         move 10 to y
         multiply 3 by z
         goto b4.
       b3.
         add 2 to x
         compute y=5*x+y
         goto b4.
       b4.
         if y<x then goto b1 else goto b5.
       b5.
         if function mod(x,2)=0 then goto b6 else goto b1.
       b6.
         stop run.
       End-Program spec.

Messung
CHZG
889510094

¤ Dauer der Verarbeitung: 0.5 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,835
#Domains=906,746