Newsgroups: rec.arts.int-fiction
Path: nntp.gmd.de!newsserver.jvnc.net!newsserver2.jvnc.net!howland.reston.ans.net!vixen.cso.uiuc.edu!usenet.ucs.indiana.edu!news.cs.indiana.edu!shulick@cherry.ucs.indiana.edu
From: "Sam Hulick" <shulick@cherry.ucs.indiana.edu>
Subject: Re: Inform Telephone
Message-ID: <1995Aug18.213058.27081@news.cs.indiana.edu>
Organization: Vallen Software
References: <412huo$hp6@news.voicenet.com> <412q36$4h3@flood.xnet.com>
Date: Fri, 18 Aug 1995 21:30:51 -0500
Lines: 25

jcompton@flood.xnet.com (Jason Compton) writes:
>Arthur LaFrana (lafrana@omni.voicenet.com) wrote:
>: Is it possible to create a telephone type device with Inform? I am
>: trying to create a situation where a player can type in 'dial 7654321'
>: but I am always told that dictionary words must start with a letter.
>: Thanks for any suggestions, I'm sure the answer is easy but for some
>: reason I have hit a blind spot as to the solution. <<<ART>>> 
>
>Do the Witness routine, give all phone numbers in the old "two letter 
>five number" format.

How about:

[ DialSub;
   ... (something dealing with the variable 'special_number') ...
];

Verb "dial"
 * special    -> Dial;

-- 
--- 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
