Newsgroups: rec.arts.int-fiction
Path: nntp.gmd.de!newsserver.jvnc.net!newsserver2.jvnc.net!howland.reston.ans.net!spool.mu.edu!news.cs.indiana.edu!shulick@guava.ucs.indiana.edu
From: "Sam Hulick" <shulick@guava.ucs.indiana.edu>
Subject: Inform: Mixed-up objects..help!
Message-ID: <1995Aug28.222027.18949@news.cs.indiana.edu>
Organization: Vallen Software
Date: Mon, 28 Aug 1995 22:20:22 -0500
Lines: 27


I've got a problem of objects colliding.  Let's say I've got the
following:

   * an air pocket (with name "air" "pocket")
   * a pair of jeans (with name "jeans" "pair" "pants")
   * the jeans pocket (with name "jeans" "pocket")

Naturally, if I say "examine pocket" it will ask me if I mean the air
pocket or the jeans pocket.  But, let's say I type "examine jeans".  I
want the pair of jeans to take precedence (so to speak) over the
pocket.  I don't want it to ask me "Which do you mean, the pair of jeans
or the jeans pocket?" when I say to examine the jeans!  But you see, if
I just had the jeans pocket use the name "pocket" to parse, then there
would be a problem: Which do you mean, the air pocket or the jeans
pocket?  And when you went to type "jeans" it would not match (because
name is only = "pocket" and not "jeans" "pocket" as originally set).
Get it?  How do I solve this strange dilemma?!

Thankfully, the parser is smart enough that when I type "wear jeans", it
knows to put on the jeans, NOT its pocket. ;)

-- 
--- Sam Hulick ------------- shulick@indiana.edu ---------------------
Systems Consultant        | Homepage:
Indiana College Placement |    http://copper.ucs.indiana.edu/~shulick/
  and Assessment Center   | PGP public key available on request
