I’m trying to print the name of a kind of value in I6, but PrintKindValuePair
isn’t working.
There is a room.
Test value is a kind of value.
The test values are test 1, test 2, test 3.
To say test value (V - test value):
(- PrintTest({V}); -).
Include (-
[ PrintTest val;
PrintKindValuePair((+ test values +), val);
];
-).
When play begins:
let test be test 2;
say test value test;
Instead of printing “test 2”, it just prints “2”, the numerical value of test 2. This is because the line
say test value test;
gets transformed into
PrintKindValuePair((true), tmp_0);
instead of
PrintKindValuePair((55), tmp_0);
It seems like there’s no constant defined for the kind, only for the individual values. Is there any way to do this? Perhaps some weird {-
invocation? Or alternatively, any way to determine the function name E69
?