Error message on the rulebook

When I try to run my story, this error message comes up. I don’t even know how to change the standard rule file. My story tries to add a rule that has nothing to do with containers. (“Rule for responding:…”)

This story is a prototype snippet that only started getting this error ten minutes ago. I have cleared all the other errors. Other stories seem not to be affected.

In Part Three - Variables and Rulebooks, Chapter 1 - Variables, Section 3 - Used when ruling on accessibility in the extension Standard Rules by Graham Nelson:

Problem. You wrote ‘The container in question is an object that varies’ [](source:C:\Program Files\Inform\Internal\Extensions\Graham Nelson\Standard Rules.i7x#line430): but the name supplied for this new variable is a piece of text which is not available because it has a rival meaning already, as a result of definitions made elsewhere…

Problem. You wrote ‘The supporter in question is an object that varies’ [](source:C:\Program Files\Inform\Internal\Extensions\Graham Nelson\Standard Rules.i7x#line431): again, the name supplied for this new variable is a piece of text which is not available because it has a rival meaning already.

Sorry for not including my code the first time.

“deleteme” by Me

Include Basic Screen Effects by Emily Short.

The Interrogation Room is a room. The description of the Interrogation Room is “This is a small room.”.

Section n.1 - Round 1

Round1 is a scene. Round1 begins when the location is Interrogation Room for the first time.

When Round 1 begins:
say “Round 1 begins.”.

Table of Round1Qs
Index Question
1 How many?
2 How many times
3 Who are?
4 How many?
5 How many ?

Every turn during Round1:
repeat through Table of Round1Qs:
clear only the main screen;
choose a random row in Table of Round1Qs;
say “[question entry][paragraph break]”;
blank out the whole row;

Round1 ends when the number of filled rows in the Table of Round1Qs is 0.

Please post that rule, or whatever code that you’ve added before getting the message. Without seeing that, we’d be just guessing.

1 Like

Sorry. I have edited to add.

I was hoping someone would just say “You need to reinstall” or “I’ll send some elves tonight.”

Ha! This is a funny one.

The Standard Library defines a variable called “the container in question” for some internal purposes (there are rules that decide whether you can reach into or out of something, and that something is “the container in question”). But since you’ve now given a meaning to the word “question”—a table column—the compiler gets confused and thinks it’s supposed to put a container in the question.

The easiest solution is to rename the “question” column. But this is arguably a compiler bug that should be fixed.

6 Likes

Thank you. I would never, ever have figured that out. I changed the table column to Kweschun (and put all my strings in quotation marks and fixed a couple of typos), and the story compiled.