Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue L61030

SHOWOBJ (number) should work as documented
Submitted by: Cedric Knight     Appeared in: Library 6/10 or before     Fixed in: Library 6/11
Problem

It is frequently useful when debugging to show the state of a room or unreferrable object, but this is very difficult under 6/10. The Designer's Manual (p. 98) states that SHOWOBJ should accept an object number (derived e.g. from TREE), but instead this lists details for that number of objects, which is a surprising result for the unwary author.

Solution

Simply add one line to the debugging section of Grammar.h

  Verb meta 'showobj'
      *         -> Showobj
      * number  -> Showobj   ! added
      * multi   -> Showobj;

SHOWOBJ alone is not documented, but usefully shows the current room.


Last updated 2 May 2008. The librarian in charge of this page is Roger Firth. Please email any comments, suggestions or corrections to roger@firthworks.com.