1 / 1

Originalprogramm (COBOL85)

Identifizieren von wiederverwendbaren Teilen, Bildung von Klassen. Arbeitsbibliothek. Generalisierung, Standardisierung, Klassifizierung. class. Originalprogramm (COBOL85). CLASS-ID. ACCOUNT INHERITS BASE. OBJECT. DATA DIVISION. 01 OWNER PIC X(30).

Download Presentation

Originalprogramm (COBOL85)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Identifizieren vonwiederverwendbarenTeilen,Bildung von Klassen Arbeitsbibliothek Generalisierung,Standardisierung, Klassifizierung class Originalprogramm (COBOL85) CLASS-ID. ACCOUNT INHERITS BASE. OBJECT. DATA DIVISION. 01 OWNER PIC X(30). 01 BALANCE PIC 9(7)V99. 01 MAX-OVERDRAFT PIC 9(7)V99. ... END OBJECT. END CLASS ACCOUNT. Repository class class owner CLASS-ID. ACCOUNT INHERITS BASE. OBJECT. DATA DIVISION. 01 OWNER PIC X(30). 01 BALANCE PIC 9(7)V99. 01 MAX-OVERDRAFT PIC 9(7)V99. ... CLASS-ID. ACCOUNT INHERITS BASE. OBJECT. DATA DIVISION. 01 OWNER PIC X(30). 01 BALANCE PIC 9(7)V99. 01 MAX-OVERDRAFT PIC9(7)V99. ... balance max-overdraft PROCEDURE DIVISION. METHOD-ID. INIT-CHCK-ACC. MOVE ... TO OWNER. MOVE ... TO BALANCE. ... END OBJECT. END CLASS ACCOUNT. PROCEDURE DIVISION. METHOD-ID. INIT-CHCK-ACC. MOVE ... TO OWNER. MOVE ... TO BALANCE. ... END OBJECT. END CLASS ACCOUNT. class CLASS-ID. ACCOUNT INHERITS BASE. OBJECT. DATA DIVISION. 01 OWNER PIC X(30). 01 BALANCE PIC 9(7)V99. 01 MAX-OVERDRAFT PIC 9(7)V99. ... Objektifizierung PROCEDURE DIVISION. METHOD-ID. INIT-CHCK-ACC. MOVE ... TO OWNER. MOVE ... TO BALANCE. ... END OBJECT. END CLASS ACCOUNT. class class CLASS-ID. ACCOUNT INHERITS BASE. OBJECT. DATA DIVISION. 01 OWNER PIC X(30). 01 BALANCE PIC 9(7)V99. 01 MAX-OVERDRAFT PIC 9(7)V99. ... CLASS-ID. ACCOUNT INHERITS BASE. OBJECT. DATA DIVISION. 01 OWNER PIC X(30). 01 BALANCE PIC 9(7)V99. 01 MAX-OVERDRAFT PIC 9(7)V99. ... PROCEDURE DIVISION. METHOD-ID. INIT-CHCK-ACC. MOVE ... TO OWNER. MOVE ... TO BALANCE. ... END OBJECT. END CLASS ACCOUNT. 01 account-object PROCEDURE DIVISION. METHOD-ID. INIT-CHCK-ACC. MOVE ... TO OWNER. MOVE ... TO BALANCE. ... END OBJECT. END CLASS ACCOUNT. USAGE OBJECT REFERENCE Objektorientiertes Programm (OOCOBOL)

More Related