Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue L61121     [previous patch]

add_to_scope of parentless object causes error
Submitted by: Emerick Rogul     Appeared in: Library 6/11 or before     Fixed in: -
Problem

Consider an object which has no parent, and is brought into scope by an add_to_scope property. An attempt to take that object causes error messages:

  [** Programming error: tried to test "has" or "hasnt" of nothing **]

  [** Programming error: tried to test "has" or "hasnt" of nothing **]
  That's hardly portable.
Solution (by Andreas Hoppler)

To suppress the error messages, change AttemptToTakeObject( ) in verblib.h:

  if (i && i ~= ancestor && (i has container || i has supporter))


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.