Newsgroups: rec.arts.int-fiction
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!europa.netcrusader.net!64.152.100.70!cyclone-sjo1.usenetserver.com!news-out.usenetserver.com!newsxfer.interpacket.net!uunet!lax.uu.net!ffx.uu.net!world!buzzard
From: buzzard@world.std.com (Sean T Barrett)
Subject: Re: [inform]
Message-ID: <G6JKn1.Fun@world.std.com>
Date: Tue, 2 Jan 2001 15:35:25 GMT
References: <lS846.3231$Qb7.369623@newsb.telia.net> <3a513f9a.348461068@goliath2.usenet-access.com>
Organization: The World Public Access UNIX, Brookline, MA
Lines: 18
Xref: news.duke.edu rec.arts.int-fiction:81855

Carl Muckenhoupt <carl@wurb.com> wrote:
>Well, the Inform library's "UnlockSub" routine is only capable of
>recognizing one key for each lockable object.  So you're going to have
>to either replace or circumvent that.
           ^^^^^^^
[snip]
>(Note: I do not recommend actually editing verblibm.h.
>That's just asking for headaches later on.  Instead, you can copy
>LockSub and UnlockSub into your code, give them new names like
>"MyLockSub" and "MyUnlockSub", and provide grammar lines sending
>"lock" and "unlock" commands to these new actions.)

Or better yet, you can use the "Replace" directive and
simply call the routines "LockSub" and "UnlockSub" in your
code; see the Designer's Manual, section 21, after exercise 48;
this way you don't have to touch the grammar.

SeanB
