Damnatio Memoriae

An interactive fiction by Emily Short (2008) - the Inform 7 source text

Home page

Contents
Previous
Next

Complete text
Chapter 2 - Finding All Viable Links - Not for release

Understand "compare [something] against [something]" as testing it against.
    
Testing it against is an action applying to two things.

Carry out testing it against:
    consider the link check rules;
    if result of the rule is "blank"
    begin;
        do nothing;
    otherwise;
        say "[The noun] links to [the second noun].";
    end if.
    
Understand "compare [something]" as testing.

Testing is an action applying to one thing.

Carry out testing:
    repeat with item running through things
    begin;
        try testing the noun against the item;
    end repeat.

Understand "viable" as listing viable links.

Listing viable links is an action applying to nothing.

Carry out listing viable links:
    repeat with item running through things
    begin;
        try testing item;
    end repeat;