Re: Inform Telephone


Fri, 18 Aug 1995 21:30:51 -0500

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