I came across this odd error today, and spent some time searching Mantis and this forum to see if it was already known. Is this a bug? Is it already listed in Mantis somewhere or should I try to file a formal report?
"Bugtesting" by Shadow Wolf
The Colossal Cave is a room.
To frotz the plover egg:
Let the individual in question be the actor;
say "[The actor] has frotzed the plover."
Table 1
message
"Why can't I print [the actor]'s name?"
This produces three errors, but they’re all the same thing (and commenting out the offending lines for any two of them will still leave the third). Essentially, the “actor” variable apparently can’t be used inside a phrase, or in a text in a table. You can substitute “noun”, “second noun”, or any variable for “actor” and the errors will not appear - it seems to be very specific to “actor”.
Error output (spoiler tag because it’s long):
[spoiler]This is the report produced by Inform 7 (build 6G60) on its most recent run through:
Problem. In the sentence ‘Let the individual in question be the actor’ , I was expecting to read a value, but instead found some text that I couldn’t understand - ‘actor’.
I was trying to match one of these phrases:
- let (individual in question - a new name) be (actor - description of relations of values to values)
- let (individual in question - a new name) be (actor - name of kind)
- let (individual in question - a new name) be (actor - value)
- let (individual in question - a temporary named value) be (actor - value)
This was what I found out:
individual in question = something unrecognised
actor = something unrecognised
Problem. In the sentence ‘say “[The actor] has frotzed the plover.”’ , I was expecting to read an object, but instead found some text that I couldn’t understand - ‘actor’.
I was trying to match one of these phrases:
- say “[The actor - object]”
- say “[the actor - object]”
- say “actor - text”
- say “[actor - number]”
- say “[actor - unicode character]”
- say “[actor - sayable value]”
- say “” has frotzed the plover." - text"
This was what I found out:
actor = something unrecognised
Problem. In the sentence ‘“Why can’t I print [the actor]'s name?”’ , I was expecting to read an object, but instead found some text that I couldn’t understand - ‘actor’.
I was trying to match one of these phrases:
- say "“Why can’t I print " - text”
- say “[the actor - object]”
- say “actor - text”
- say “[actor - number]”
- say “[actor - unicode character]”
- say “[actor - sayable value]”
- say “”'s name?" - text"
This was what I found out:
actor = something unrecognised[/spoiler]