|4.16 Interface PCODE-STRD|
As part of the Structure Chart, each module is described by PCODE. The information about calling further modules and the required communication data are also integrated in the description. Procedural aspects are integrated as well, provided they are part of the architecture.
PROCEDURE Administration of customer data
Determination of trnsaction code (Code);
(* trnasaction execution (Code) *)
IF Code <> End THEN
WHILE NOT last trnsaction (Code) DO
Update of customer data (Code)
print customer list
ENDIF (* Code <> End *)
UNTIL Code = End
Figure 4.24 illustrates the description of module "Administration of Customer Data" with PCODE (according to /Schönthaler, 1990/, chap. 7.2). The iterations are described by the code words "REPEAT" and "WHILE" . The referred modules are inserted at the corresponding position.
|/Schönthaler, 1990/||Chap. 7 contains different examples for STRD and PCODE.|