MantisBT - Core Inform
View Issue Details
0000885Core InformActivitiespublic2012-03-18 16:112014-05-07 07:34
(serious/mild) Game compiles but misbehaves
0000885: While <activity> a thing (called X) doesn't assign to X
If a rule has a while condition which refers to an activity on things and tries to call the object of said activity something, the name won't be assigned.

The attached example shows "nothing" instead of "yourself".
There is room.
Considering something is an activity on things.

After printing the name of something while considering a thing (called X):
Say paragraph break;
Showme X.
Before looking:
Begin the considering activity with the player;
If handling the considering activity with the player:
Say "Handling it!";
Say the player;
Say "Handled!";
End the considering activity with the player.
Please mark as related to bug 884.
No tags attached.
related to 0000884closed graham A while clause that specifies the basis of an activity compiles only for some kinds of bases 
Issue History
2012-03-18 16:11NYKevinNew Issue
2012-03-18 16:26EmacsUserRelationship addedrelated to 0000884
2012-03-18 16:26EmacsUserStatusnew => confirmed
2012-03-18 16:26EmacsUserCategoryKinds and type checking => Activities
2014-01-17 15:11grahamNote Added: 0002299
2014-01-17 15:11grahamStatusconfirmed => resolved
2014-01-17 15:11grahamResolutionopen => fixed
2014-01-17 15:11grahamAssigned To => graham
2014-05-07 07:34jmcgrewFixed in Version => 6L02
2014-05-07 07:34jmcgrewStatusresolved => closed

2014-01-17 15:11   
Yes, Inform just isn't able to do this, because of the way "a thing (called X)" is handled internally - it's in effect a closure. X could be created, but it would vanish again before it could be used. There's now a problem message explaining the limitation.