



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: To suppress the error messages, change AttemptToTakeObject( ) in verblib.h:
About Patches
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
[** 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)
if (i && i ~= ancestor && (i has container || i has supporter))
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.