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 17 April 2013. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Roger Firth.