Re: ANA() SANA() Macros are wrong...

From: George Greer (greerga@circlemud.org)
Date: 03/11/01


On Sat, 10 Mar 2001, Peter Ajamian wrote:

>George Greer wrote:
>>
>> SANA is only used by act(), hence it would most likely be trying to 'a' /
>> 'an' the object's short description, not the alias list. Most objects have
>> a short description of "an apple" anyway, instead of the code using $a/$A
>> for that.
>
>It doesn't compare against the short description it compares against the
>name (title, alias, whatever).

That's what I said, except I was pointing out what it was intended (short
description) for as compared to what it is actually doing (alias list).

>If you feel the function is useless, then fine, take it out.  If it's
>gonna be left in then it should at least work, regardless of what it's
>used for.

It works, given some conditions.  Although with the current state of
objects (having 'an' / 'a') and the lack of use of SANA (no $a/$A around),
it's hardly worth worrying about either way.  If I ever had a major rewrite
on my hands, I'd keep SANA and nix the articles from the objects.  The
current lack of $a/$A usage in the code prevents such a conversion from
being done to the objects.

The current state sucks for "You give two an apples."

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/04/01 PST