I’m trying to do something with a relation of things to texts, which seems to be OK as a concept according to WWI 13.13 Relations involving values.
Problem code
"Bad List?"
Place is a room.
A thingy is a kind of thing.
Thingy1 is a thingy.
Word linking relates a thingy to various texts. The verb to wordlink means the word linking relation.
Thingy1 wordlinks "good" and "bad".
Requesting words is an action applying to nothing. Understand "words" as requesting words. The requesting words action has a list of texts called words found.
Report requesting words:
say "STARTING.";
repeat with P running through thingy:
say "POPULATING.";
let L be the list of texts to which P relates by the word linking relation; [causes RTP]
say "DISPLAYING.";
showme the number of entries in L;
do nothing.
Test me with "relations / words".
The attempt to create a list of the texts related to a thing causes an RTP, however:
Bad List?
An Interactive Fiction
Release 1 / Serial number 211227 / Inform 7 build 6M62 (I6/v6.33 lib 6/12N) SD
Place
>test me
(Testing.)
>[1] relations
word linking:
Thingy1 >=> bad
Thingy1 >=> good
>[2] words
STARTING.
POPULATING.
*** Value handling failed: impossible comparison ***
*** Run-time problem P49: Memory allocation proved impossible.
[ The game has finished ]
I’ve seen a few posts with “value handling” related error messages, but most are old and none of them seem to mention “impossible comparison”.
Am I misunderstanding the use of the phrase?