Talk:Smell restrictions (Inform 7 example): Difference between revisions

From IFWiki

No edit summary
No edit summary
 
Line 1: Line 1:
== error in example? ==
I cut and pasted this code and got the following error: Problem. In 'The block smelling rule is not listed in the check smelling rulebook'  , you gave 'The block smelling rule' where a rule was required.
I cut and pasted this code and got the following error: Problem. In 'The block smelling rule is not listed in the check smelling rulebook'  , you gave 'The block smelling rule' where a rule was required.


Line 9: Line 11:


<code>
<code>
[We need to remove the default blocking rule.]
The block smelling rule is not listed in the check smelling rulebook.
The block smelling rule is not listed in the check smelling rulebook.
</code>
</code>
Line 16: Line 17:


<code>
<code>
[We need to remove the default blocking rule.]
The report smelling rule is not listed in the report smelling rulebook.
The report smelling rule is not listed in the report smelling rulebook.
</code>
</code>


Though I don't understand the nuances of difference in syntax.
[[User:Jerimee|Jerimee]] ([[User talk:Jerimee|talk]]) 20:46, 4 December 2016 (UTC)
[[User:Jerimee|Jerimee]] ([[User talk:Jerimee|talk]]) 20:46, 4 December 2016 (UTC)

Latest revision as of 20:47, 4 December 2016

error in example?

I cut and pasted this code and got the following error: Problem. In 'The block smelling rule is not listed in the check smelling rulebook' , you gave 'The block smelling rule' where a rule was required.

See the manual: 19.4 > 19.4. Listing rules explicitly

Jerimee (talk) 20:33, 4 December 2016 (UTC)


one might replace

The block smelling rule is not listed in the check smelling rulebook.

with

The report smelling rule is not listed in the report smelling rulebook.

Though I don't understand the nuances of difference in syntax. Jerimee (talk) 20:46, 4 December 2016 (UTC)