Art(): Difference between revisions

From TinyMUX
Jump to navigation Jump to search
New page: Category:Functions {{Function|art(<string>)}} This function returns the proper article, "a" or "an", for the <string> by attempting to match it against a set of rules. This function ...
 
(No difference)

Latest revision as of 09:52, 27 November 2010


art(<string>)

This function returns the proper article, "a" or "an", for the <string> by attempting to match it against a set of rules. This function isn't always right, but it makes a good guess most of the time.

Example

> say art(TinyMUX)

You say, "a"


> say art(umbrella)

You say, "an"


> say art(unicycle)

You say, "a"


> say art(ytterbium)

You say, "an"


> say art(one-sided)

You say, "a"


> say art(avocado)

You say, "an"

article_rule