Next / Previous / Contents / Shipman's homepage

19. class Narrative: General container for narrative

An instance of this class is a container for one or more paragraphs of text. The constructor has this calling sequence:


It returns a new, empty instance.

19.1. Narrative.addPara(): Add a paragraph

To add a paragraph to a Narrative instance N, wrap the paragraph in an instance Pof Section 20, “class Paragraph: General container for a paragraph of narrative”, and call this method: