BB6 - An Example that pays a list of Bills


Implements the system operation

bank: bnk payBills: billCollection.

(The bank argument is redundant; all bills are payed by transferring money between accounts in the same bank. Needs cleaning up.)

The example illustrates that a RoleMethod calls another Context as a subroutine.
(BillPayer::payBills calls the BankTransfer context to pay one bill at the time).

The code can be studied in situ in Squeak/DCI (BabyIDE.ZIP) or in the HTML-file

BB6PavBills listing.