-
Notifications
You must be signed in to change notification settings - Fork 0
DISPLAY
DISPLAY can be thought of as a way to inspect the story on screen at a desired point in time.
DISPLAY amount-optional
where amount-optional is a non-zero positive or negative integer. This tells the DISPLAY command how much of the story to display on the screen. If a positive amount, then it displays that number of sentences from the start of the story; if negative then it displays that number of sentences from the end of the story.
If amount-optional is unspecified, it displays the entire story so far.
This function does not alter the state of the story in any way; it merely displays it on the screen.
DISPLAY -1
displays the most recent sentence in the story
DISPLAY
displays the entire contents of the story
DISPLAY 10
displays the first 10 sentences in the story
Please note that formatting marks that are meaningful in markdown e.g. blockquote mark > or the heading or subeading marks # or ## will be displayed as-is when the DISPLAY command. Therefore DISPLAY should not be thought of as a direct reflection of the output as it would appear in a markdown viewer. Instead it is mainly useful for diagnostic purposes for assessing the text of the story.
Remember that commands such as NEWPARA and NEWLINE count as a sentence (a blank one) in the story.
The beginning and end of the DISPLAY command are clearly shown on the screen so that the user knows exactly where the output of this command begins and ends.
WRITE, FORMAT, NEWLINE, NEWPARA, NEWCHAPTER
For a hierarchical directory, see the homepage for this Wiki