|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001043||Documentation, Examples, and Web Site||Writing with Inform||public||2012-10-30 09:48||2014-05-07 07:38|
|Assigned To||graham|| |
|Platform||x86||OS||Mac OS X||OS Version||10.6|
|Product Version||6G60|| |
|Target Version||Fixed in Version||6L02|| |
|Summary||0001043: Inline example code from WI 18.12 does not compile|
|Description||The example leads to the problem message|
- - - -
Problem. You wrote 'remove the destroyed object' : but this is a phrase which I don't recognise, possibly because it is one you meant to define but never got round to, or because the wording is wrong (see the Phrasebook section of the Index to check). Alternatively, it may be that the text immediately previous to this was a definition whose ending, normally a full stop, is missing?
- - - -
because ``remove the destroyed object'' should be ``remove the destroyed object from play''.
|Minimal Source Text To Reproduce|
There is a room.
Austin is an animal. The ball of wool is a thing.
The cat behavior rules is a rulebook producing an object.
Cat behavior when Austin can see the ball of wool:
rule succeeds with result the ball of wool.
let the destroyed object be the object produced by the cat behavior rules;
if the destroyed object is not nothing:
say "Austin pounces on [the destroyed object] in a flurry.";
remove the destroyed object.
|Tags||No tags attached.|